Commit Graph

19262 Commits

Author SHA1 Message Date
Mike Hommey
311cae060f Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
6c0104928c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Bobby Holley
a25e476e78 Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz 2012-06-15 08:31:27 +02:00
Bobby Holley
19f0a769ef Bug 764389 - Add an API to change the principals of a compartment. r=luke 2012-06-15 08:30:09 +02:00
Nicholas Nethercote
98d69316ba Bug 758509 (part 8) - Initialize JSScript::globalObject in Create(). r=luke.
--HG--
extra : rebase_source : 9a6e3933b3586c3c986acdbeccedd2d8359c8a65
2012-06-06 21:37:37 -07:00
Nicholas Nethercote
769e0c9878 Bug 758509 (part 7) - Initialize JSScript::staticLevel in Create(). r=luke.
--HG--
extra : rebase_source : 68b169f29e8d2d928e4b83078bafdf33eb7b53a1
2012-06-06 21:37:37 -07:00
Nicholas Nethercote
c46732f31b Bug 758509 (part 6) - Initialize JSScript::savedCallerFun in Create(). r=luke.
--HG--
extra : rebase_source : cc6160a1678a1d9e7957c66fffdeefdbeaceb31e
2012-06-06 21:37:37 -07:00
Nicholas Nethercote
0620ba99c8 Bug 758509 (part 5) - Initialize JSScript::compileAndGo in Create(). r=luke.
--HG--
extra : rebase_source : 115d1df8e173b8d655a8cb0bc1b552dad5f10647
2012-06-06 21:37:37 -07:00
Mike Hommey
88257ed076 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Nicholas Nethercote
dd0fdf9479 Bug 758509 (part 4) - Initialize JSScript::{principals,originPrincipals} in Create(). r=luke.
--HG--
extra : rebase_source : c74d8df809e19650ca6b1235034485657fea801b
2012-05-31 06:35:38 -07:00
Nicholas Nethercote
89dc986179 Bug 758509 (part 3) - Initialize JSScript::version in Create(). r=luke.
--HG--
extra : rebase_source : da76da34e6aff5bb00124b5bf39386feb223d807
2012-05-31 06:19:22 -07:00
Nicholas Nethercote
3d0074d46a Bug 758509 (part 2) - Initialize JSScript::noScriptVal in Create(). r=luke.
--HG--
extra : rebase_source : 8c2a827bd4f110f9f1b1ded32a8af970581686d7
2012-05-31 00:05:08 -07:00
Nicholas Nethercote
8ba65d7192 Bug 758509 (part 1) - Create JSScript before starting bytecode generation. r=luke.
--HG--
extra : rebase_source : d2b311715b74f4a1b74aea9673f38b2ca5ae9fa5
2012-05-30 23:27:51 -07:00
Nicholas Nethercote
aa2c42939f Bug 758509 (part 0) - Remove some dead things. r=luke.
--HG--
extra : rebase_source : 4b1e25c6432686fdaa5462b1cc642e457444f8d6
2012-05-24 00:03:47 -07:00
Terrence Cole
4ced15cb1a Backed out changeset 35c79f50d85f
--HG--
extra : rebase_source : a84a5c5554e087f71771c2e3c180405dfdc750c3
2012-06-14 17:06:01 -07:00
Terrence Cole
cd42f92c87 Bug 763636 - Do not OOM after rekeying a HashTable; r=luke
This makes the overloaded case fixup after a rekey infallible by rehashing into
the existing table, rather than allocating a new one.

--HG--
rename : mobile/android/base/resources/drawable/tabs_button_contracted.xml => mobile/android/base/resources/drawable/tabs_button.xml
rename : toolkit/mozapps/update/test/unit/test_0162_appInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0161_appInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0174_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0175_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0188_fileInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0184_fileInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0189_fileInUse_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0185_fileInUse_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0190_rmrfdirFileInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0186_rmrfdirFileInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0191_rmrfdirFileInUse_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0187_rmrfdirFileInUse_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0203_app_launch_apply_update.js => toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js
rename : toolkit/mozapps/update/test_svc/unit/test_0162_appInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0161_appInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0174_fileLocked_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0175_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0188_fileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0184_fileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0189_fileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0185_fileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0190_rmrfdirFileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0186_rmrfdirFileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0191_rmrfdirFileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0187_rmrfdirFileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0203_app_launch_apply_update_svc.js => toolkit/mozapps/update/test_svc/unit/test_0201_app_launch_apply_update_svc.js
extra : rebase_source : 651c27d020f2e64978742676340b2e284609c3a1
2012-06-14 16:05:57 -07:00
Fabrice Desré
4b1c5d7555 Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug] 2012-06-14 16:03:55 -07:00
David Zbarsky
09a2e42ded Bug 764703 - Build warning in nsXPCComponents.cpp r=bholley 2012-06-14 14:08:11 -07:00
Gregor Wagner
28b0f7f0ec Bug 764928 - Support short in dictionaries. r=khuey 2012-06-14 11:28:02 -07:00
Terrence Cole
d862e014e4 Bug 763096 - Root ScopeIter stack storage; r=luke
This patch roots the objects stored in a ScopeIter when on the stack and ensures
that the roots do not behave inproperly when we copy a ScopeIter to the heap.
2012-06-07 17:37:43 -07:00
Gregor Wagner
4d146d33cd Bug 764667 - Implement ContactChangeEvent in C++. r=smaug 2012-06-14 10:13:12 -07:00
Andrew McCreight
55d2f2cfa5 Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug 2012-06-14 08:52:54 -07:00
Till Schneidereit
653afdcd7f Bug 763800 - Changes GCHelperThread to work on the main thread in non-threadsafe builds and removes lots of henceforth redundant #ifdef JS_THREADSAFE's (r=billm) 2012-06-13 11:27:45 +02:00
Ehsan Akhgari
ddcb96cfcf Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (jsd parts); r=Waldo 2012-06-12 23:45:08 -04:00
Luke Wagner
a4a7fa3282 Bug 763950 - Fix aliased access of let variables from mjit (r=dvander)
--HG--
extra : rebase_source : be43a1352895f6078c5220a973871648e8f76582
2012-06-13 09:53:01 -07:00
Ehsan Akhgari
3786ae7bdc Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (xpconnect parts); r=bholley 2012-06-12 23:21:08 -04:00
Bobby Holley
d9c5cebd3e Bug 763856 - Introduce JSAutoEnterCompartment::leave(). r=luke 2012-06-13 11:44:24 +02:00
Jason Orendorff
c3b86b1336 Bug 750307 - "Assertion failure: isBoolean()" in RegExpObject::ignoreCase after redefining nonconfigurable data property. r=Waldo. Second landing, test change rs=bholley on IRC. 2012-06-13 03:11:18 -05:00
Nicholas Nethercote
4c6045114c Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar.
--HG--
extra : rebase_source : 886b3d40a8dc5f7092ed35ffe280814576ca021b
2012-06-11 20:32:26 -07:00
Nicholas Nethercote
fdc3d35af5 Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar.
--HG--
extra : rebase_source : d28d117fbc2c91069222649741f5ef6b567b3e2a
2012-06-11 20:29:12 -07:00
Nicholas Nethercote
e7baa6caa6 No bug. Fix three JS engine compile warnings. r=jorendorff.
--HG--
extra : rebase_source : 4d3cc46e01e0e34b96a5e6e31ddbd11490cb1638
2012-06-12 19:12:28 -07:00
Benjamin Peterson
6b52725690 Bug 763348 - Set private data on constructor instead of post method. r=jorendorff 2012-06-12 21:29:02 -04:00
Benjamin Peterson
463b23a2a4 Bug 763755 - Support the spread operator in Reflect.parse. r=dherman 2012-06-12 20:07:46 -04:00
Peter Van der Beken
071c3b12a3 Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 332bf497cd68c9ea5c8a443c64c2884d4e18d2ea
2012-05-03 19:01:49 +02:00
Peter Van der Beken
bb67cfb710 Fix for bug 760131 (Quickstub argument unwrapping fails for security-wrapped list proxy and paris binding objects). r=bz.
--HG--
extra : rebase_source : 945d58f3b73f25f05528e6c6d69745215cb4793a
2012-06-01 18:24:52 +02:00
Nicholas Nethercote
da683f2b37 Bug 634444 - Don't show the whole line in error messages, to avoid memory spikes. r=jwalden.
--HG--
extra : rebase_source : 8d8665f50939e4ee6fc36046babe6860cfed9069
2011-02-17 19:02:48 -08:00
Jon Coppeard
12675f4a1d Bug 731642 - Assertion failure: isDenseArray(), at ../jsobjinlines.h:504. r=Waldo 2012-06-12 17:04:33 -04:00
Dave Hylands
ea7e22c7a1 Bug 694594 - Fix code generation problem in debug builds for Vector.h. r=luke 2012-06-11 23:21:49 -07:00
Luke Wagner
1c9cf86093 Bug 763384 - Don't treat regexp syntax errors as OOM errors (r=njn) 2012-06-11 17:08:34 -07:00
Bill McCloskey
549824209e Bug 753283 - Poison VM stack to help fuzzers (r=bhackett) 2012-06-12 12:24:31 -07:00
Joey Armstrong
4249f5fd38 bug 757828: move export logic into target_export.mk - batch #1 2012-05-23 11:19:24 -04:00
Honza Bambas
41779e1714 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Jeff Walden
89517cbb47 Warning patrol. No bug, r=terrence
--HG--
extra : rebase_source : 9703c54a2dd87018af98c727c318036c4df846a2
2012-06-11 17:17:19 -07:00
Bobby Holley
50c7e8bc6b Bug 763341 - Handle wrappers in new dom binding QI. r=bz
The |ok| parent check goes away because it's ill-conceived. All it's really checking is that proxies are parented to the global, and it's impossible to port to SpecialPowers, because SpecialPowers will think that the proxy is parented to the SpecialPowers global. I don't think this check is very important, so I removed it.
2012-06-12 15:44:21 +02:00
Bobby Holley
a2a3845832 Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff 2012-06-12 15:44:14 +02:00
Benjamin Peterson
40d043473a Bug 763313: skip destructuring when emitting PNK_SEQ nodes r=jorendorff 2012-06-11 22:51:30 -07:00
Terrence Cole
f6ddf5df97 Bug 759991 - Fix infinite loop in rekeyFront with fully collided Table; r=luke
This hooks up the same path to putNew, because it is slightly more efficient and
fixes an OOM failure introduced in c9024bcb8da0.
2012-06-06 16:40:56 -07:00
Phil Ringnalda
498d1a6e91 Back out ecbe3c75551d (bug 759991) to investigate the effects on TestStartupCache bustage on a CLOSED TREE 2012-06-11 17:38:08 -07:00
Phil Ringnalda
b8022689fe Back out 7166a68a7994 (bug 750307) for browser_bug645699.js bustage in a CLOSED TREE 2012-06-11 17:02:21 -07:00
Benjamin Peterson
e5b57504a5 Bug 762285 - Add ForOfIterator, a C++ class for "for-of" iteration. r=benjamin. 2012-06-11 16:31:52 -05:00