Bill McCloskey
de82d27e9b
Bug 758846 - Disable cross-compartment wrapper checking during creation (r=luke)
2012-06-18 17:04:48 -07:00
Bill McCloskey
5758fa2d6e
Bug 762982 - Fix verifybarriers() shell call (r=luke)
2012-06-18 17:04:43 -07:00
Jeff Walden
09e6c025d8
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Joey Armstrong
1427952567
bug 757855: move xpidl* logic into a named makefile - batch #1
2012-06-01 11:13:07 -04:00
Nils Maier
0c2db95ab0
Bug 759783: Add identifying origin information to Javascript sandboxes. r=jlebar
2012-06-18 13:09:17 -04:00
Luke Wagner
e693675ec9
Bug 765297 - free up bits in String::lengthAndFlags for new string subtypes (r=njn)
...
--HG--
extra : rebase_source : 798f9c1e1a1176ce218bb4d336f6403e1cbd55aa
2012-06-18 09:37:25 -07:00
Bobby Holley
d169ad7176
Bug 763433 - Clarify compartment situation in Xray wrapper. r=mrbkap
...
Adding to the mess of the NodePrincipal (et al) check isn't great, but I'm refactoring that in bug 761704.
2012-06-18 15:47:09 +02:00
Bobby Holley
f729fb1536
Bug 763433 - Clarify compartment semantics for ExposedPropertiesOnly. r=mrbkap
2012-06-18 15:47:09 +02:00
Jan de Mooij
5feb932e57
Bug 765733 - Don't emit singleton array initializers for empty arrays. r=bhackett
2012-06-18 16:54:22 +02:00
Bobby Holley
d0bbff2627
Bug 763381 - Fix up compartment situation for expando objects. r=mrbkap
2012-06-18 15:28:11 +02:00
Bobby Holley
96e9ccb417
Bug 763381 - Pass cx around in more places. r=mrbkap
2012-06-18 15:28:11 +02:00
Bobby Holley
731a9d5430
Bug 764289 - Null-check desc->obj after calling Proxy::getPropertyDescriptor. r=jorendorff
2012-06-18 15:19:39 +02:00
Luke Wagner
5d0cd2a25c
Bug 764249 - Fix the non-reentrant-closure fix in bug 762473 (r=dvander)
2012-06-17 23:44:27 -07:00
Luke Wagner
0689f2e4b3
Backout 925c31734424 (wrong bug, wrong patch)
2012-06-17 23:40:47 -07:00
Ms2ger
73058fcee7
Bug 762436 - Get rid of the nsresult return value for nsIXPCScriptable::GetScriptableFlags(); r=mrbkap
2012-06-17 10:11:16 +02:00
Gregor Wagner
f0aabb81cf
Bug 764682 - Implement wifi events in c++. r=smaug
2012-06-16 11:14:12 -07:00
Benjamin Peterson
381e6b3f62
Bug 763954: give the rest argument integer properties, r=bhackett
2012-06-16 17:27:13 +12:00
Terrence Cole
459011a626
Bug 764440 - Add config option and code to enable exact stack rooting; r=billm
...
Now that we have Handles working in most of the engine, we need to provide the
ability to use them in GC for testing.
--HG--
extra : rebase_source : cb3e21ec1a5b537207dbe2ebef558b0da247d30c
2012-06-13 11:15:23 -07:00
Boris Zbarsky
a20f0507aa
Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob
2012-06-15 16:25:51 -04:00
Terrence Cole
e7edfc1b39
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--
extra : rebase_source : fdd3f8bb1c9d2788c7281b69c974fdea0464fea8
2012-06-15 13:21:24 -07:00
Andrew McCreight
499dfe9257
Bug 749385 - use deferred release in nsHTMLDocumentSH::ReleaseDocument. r=peterv
2012-05-18 15:00:19 -07:00
Luke Wagner
be8a13e7a8
Bug 764249 - Fix the non-reentrant-closure fix in bug 762473 (r=dvander)
...
--HG--
extra : rebase_source : c5db1eda08f62721b5dc1aa92e13f9169c69c587
2012-06-13 11:36:13 -07:00
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
Jason Orendorff
2ba2a77a4a
Bug 750307 - "Assertion failure: isBoolean()" in RegExpObject::ignoreCase after redefining nonconfigurable data property. r=Waldo.
2012-06-11 16:31:52 -05:00
Jan de Mooij
3af761e21d
Bug 763580 - Fix Clang warning in SpreadContext copy constructor. r=bpeterson
2012-06-11 20:07:04 +02:00
Terrence Cole
2c6246852d
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
Doug Turner
c14f720826
Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug
2012-06-10 22:50:44 -07:00
Mike Hommey
772ec44784
Bug 759115 - Move Android SDK/NDK checks in build/autoconf/android.m4, and bump minimum Android SDK API level we require to 14 for mobile/android. r=ted
2012-06-11 08:10:28 +02:00
Mike Hommey
b41c60053d
Backout changeset a78601d88586 (bug 759115) because of B2G bustage
2012-06-11 08:23:29 +02:00
Mike Hommey
80815c17fd
Bug 759115 - Move Android SDK/NDK checks in build/autoconf/android.m4, and bump minimum Android SDK API level we require to 14 for mobile/android. r=ted
2012-06-11 08:10:28 +02:00
Bill McCloskey
4e579eefba
Bug 743396 - Don't unmark non-collected compartments during GC (r=mccr8)
2012-06-10 21:24:39 -07:00
Ryan VanderMeulen
2a8d53f50d
Merge m-c to inbound
2012-06-10 21:34:50 -04:00
L. David Baron
c9bf4416ea
Backout bug 754202 (all patches, rather than just patches 3-7).
2012-06-10 17:22:31 -07:00
Ryan VanderMeulen
9aae70bdc5
Backout 90107a2a0c64 (bug 754202) for real due to orange.
2012-06-10 19:46:20 -04:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Bill McCloskey
660a304ec3
Bug 742841 - Store Debugger.X objects in the cross-compartment map (r=jorendorff)
2012-06-10 16:00:09 -07:00
Bobby Holley
68eb3e6ff0
Merge backout.
2012-06-11 00:28:30 +02:00
Bobby Holley
cf84d58a9f
Back out bug 754202. r=me
2012-06-11 00:28:05 +02:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Gabor Krizsanits
b0dae02358
Bug 734891 - part 5: Adding optional XHR constructor to sandbox
2012-06-09 15:19:27 -07:00
Gabor Krizsanits
55c9f351c4
Bug 734891 - part 4: Using ExpandedPrincipal
2012-06-09 15:19:27 -07:00
Gabor Krizsanits
3cdaae07e5
Bug 734891 - part 3: Cleaning up sandbox creation
2012-06-09 15:19:27 -07:00
Benjamin Peterson
74b6b66bb7
Bug 760304: support defaults and rest parameters in Reflect.parse, r=dherman
2012-06-09 15:15:12 -07:00
Bobby Holley
241377ed4d
Bug 754202 - Remove NoWaiverWrapper. r=mrbkap
...
No more principal pushing!
2012-06-07 14:28:22 +02:00
Bobby Holley
a2ec0f4f20
Bug 754202 - Remove context pushing/popping API. r=mrbkap
...
Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
Can I get a 'hell yeah'?
2012-06-07 14:28:21 +02:00
Benjamin Peterson
525f4a7d4d
Bug 574130: JavaScript spread array initializers, r=jorendorff.
2012-06-06 21:53:07 -05:00
Jason Orendorff
47aab0a000
Bug 753542 - Add prefs to enable/disable E4X (javascript.options.xml.content and .chrome). r=bsmedberg, sr=jst.
2012-06-06 21:52:14 -05:00
Benjamin Peterson
2dd1f8a19b
Bug 761495: add Number.isInteger and Number.toInteger, r=jorendorff
2012-06-06 21:50:21 -05:00
Benjamin Peterson
154c5ff8a3
Bug 761480: add Number.isFinite. r=jorendorff.
2012-06-06 21:50:20 -05:00
Boris Zbarsky
b4e6056558
Bug 761707 part 2. Drop the vestigial jsclass argument to UnwrapDOMObject. r=bholley
2012-06-06 15:59:46 -04:00
Jonathan Watt
9a7d0a8c73
Bug 761218 - Get rid of the bogus $(DIST)/include/nsprpub include path. r=bsmedberg
2012-06-09 14:22:41 -04:00
Ryan VanderMeulen
53d33c67b1
Merge m-c to inbound
2012-06-09 14:22:32 -04:00
Luke Wagner
2f63cae5da
Bug 762473 - Don't apply non-reentrant-closure optimization when the scope is extensible (r=dvander)
...
--HG--
extra : rebase_source : e20cc5157607b72d8ecdd1fc4560373e0ad7060a
2012-06-07 20:03:18 -07:00
Luke Wagner
12081c2581
Bug 705423 - ensureTypes in ArgSetter (r=billm)
...
--HG--
extra : rebase_source : f3c1553625a9a1a41c00cabddb2c3a6f4d267aa8
2012-06-08 13:46:56 -07:00
Luke Wagner
c1b02c6f63
Sweep script->types if gczeal is set to allow fuzz/test coverage (no bug,r=billm)
...
--HG--
extra : rebase_source : 95d75ad9c10fb7235dfb9f36e6466156c763f168
2012-06-08 13:46:40 -07:00
Jan de Mooij
ec5e031168
No bug - Use "goto error" instead of "return false" in Interpret. r=bhackett on IRC
2012-06-08 17:07:35 +02:00
Mike Hommey
a659d7e6ee
Bug 757339 - Make expandlibs commands generate dependencies like gcc does. r=ted
2012-06-08 08:59:02 +02:00
Nicholas Nethercote
cfffedd2c8
Bug 761914 (part 4) - Set SharedContext::staticLevel in the constructor. r=jorendorff.
...
--HG--
extra : rebase_source : 3a28d372f6391ad97694e4f68511991b63815aa8
2012-06-07 18:48:38 -07:00
Nicholas Nethercote
caf58be473
Bug 761914 (part 3) - Do level check in UpvarCookie::set(). r=jorendorff.
...
--HG--
extra : rebase_source : 5df9e41cb94ae78f13d589bb9406ca101130515d
2012-06-07 18:48:37 -07:00
Nicholas Nethercote
565adf5977
Bug 761914 (part 2) - Simplify UpvarCookie. r=jorendorff.
...
--HG--
extra : rebase_source : c2360211652c91e3aff9ff63074675ba52c6b0e3
2012-06-07 18:42:21 -07:00
Nicholas Nethercote
1d5b607ead
Bug 761914 (part 1) - Remove UpvarCookie::UPVAR_LEVEL_LIMIT. r=jorendorff.
...
--HG--
extra : rebase_source : b5568305dbba62e8ee7ac65bd7104f66bc25c8b3
2012-06-07 18:39:20 -07:00
Luke Wagner
ed8059747e
Bug 762450 - Access the canonical formal argument location on jit rejoin path (r=bhackett)
...
--HG--
extra : rebase_source : 520885f21382f0ca2fc9aeff34f248cba1af7b39
2012-06-07 15:05:40 -07:00
Gabor Krizsanits
8bc88ec370
Bug 738244: Fix proxy behavior when assigning to inherited properties.
2012-06-07 18:31:31 -07:00
Terrence Cole
7adf24f6fa
Bug 760709 - Move E4X specific tests to a separated test directory; r=jorendorff
...
--HG--
rename : js/src/jit-test/tests/basic/bug557168-1.js => js/src/jit-test/tests/e4x/bug557168-1.js
rename : js/src/jit-test/tests/basic/bug557168-2.js => js/src/jit-test/tests/e4x/bug557168-2.js
rename : js/src/jit-test/tests/basic/bug557168-3.js => js/src/jit-test/tests/e4x/bug557168-3.js
rename : js/src/jit-test/tests/basic/bug557168.js => js/src/jit-test/tests/e4x/bug557168.js
rename : js/src/jit-test/tests/basic/bug569843.js => js/src/jit-test/tests/e4x/bug569843.js
rename : js/src/jit-test/tests/basic/bug574280.js => js/src/jit-test/tests/e4x/bug574280.js
rename : js/src/jit-test/tests/basic/bug596502-version.js => js/src/jit-test/tests/e4x/bug596502-version.js
rename : js/src/jit-test/tests/basic/bug605200.js => js/src/jit-test/tests/e4x/bug605200.js
rename : js/src/jit-test/tests/basic/bug613151.js => js/src/jit-test/tests/e4x/bug613151.js
rename : js/src/jit-test/tests/basic/bug632206.js => js/src/jit-test/tests/e4x/bug632206.js
rename : js/src/jit-test/tests/basic/bug651966.js => js/src/jit-test/tests/e4x/bug651966.js
rename : js/src/jit-test/tests/basic/bug665812.js => js/src/jit-test/tests/e4x/bug665812.js
rename : js/src/jit-test/tests/basic/bug672153.js => js/src/jit-test/tests/e4x/bug672153.js
rename : js/src/jit-test/tests/basic/bug700799.js => js/src/jit-test/tests/e4x/bug700799.js
rename : js/src/jit-test/tests/basic/bug716713.js => js/src/jit-test/tests/e4x/bug716713.js
rename : js/src/jit-test/tests/basic/bug731724.js => js/src/jit-test/tests/e4x/bug731724.js
rename : js/src/jit-test/tests/basic/bug731745.js => js/src/jit-test/tests/e4x/bug731745.js
rename : js/src/jit-test/tests/basic/bug737251.js => js/src/jit-test/tests/e4x/bug737251.js
rename : js/src/jit-test/tests/basic/bug753885-1.js => js/src/jit-test/tests/e4x/bug753885-1.js
rename : js/src/jit-test/tests/basic/bug753885-2.js => js/src/jit-test/tests/e4x/bug753885-2.js
rename : js/src/jit-test/tests/arguments/e4x-descendants-with-arguments.js => js/src/jit-test/tests/e4x/e4x-descendants-with-arguments.js
rename : js/src/jit-test/tests/basic/testXMLPropertyNames.js => js/src/jit-test/tests/e4x/testXMLPropertyNames.js
2012-06-04 15:32:10 -07:00
martenschilstra@gmail.com
be0f6f0dee
Bug 738511 - new Date(value) should call ToPrimitive on value before testing for string-ness. r=jwalden
...
--HG--
extra : rebase_source : 45ac679985c3834d90b2da9c76c753dd3e167059
2012-06-07 16:27:03 -07:00
Jeff Walden
c8fba04459
Quell -Werror=return-type by adding some more MOZ_NOT_REACHED. Continuing along with bug 751377, r=sparky
...
--HG--
extra : rebase_source : 99992b13b2d3c200f6945aa1187c00a27603e6b2
2012-05-29 12:01:32 -07:00
Philipp von Weitershausen
9d771da697
Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
...
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -07:00
Ed Morley
bcd86477cd
Merge mozilla-central to mozilla-inbound
2012-06-07 15:56:37 +01:00
Luke Wagner
e405c2f8d2
Bug 762105 - Fix increment on formal parameters aliased by the arguments object (r=dvander)
2012-06-07 02:42:56 -07:00
Ed Morley
5571c78064
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-07 10:32:36 +01:00
Luke Wagner
d5133af49a
Bug 761863 - Don't forget about jsop_aliasedArg (r=dvander)
2012-06-06 22:16:20 -07:00
Luke Wagner
70dfd7fdbe
Bug 761863 - jsop_aliasedArg should allocate a saved reg so that it isn't clobbered by the write barrier (r=dvander)
2012-06-06 20:52:16 -07:00
Marco Perez
c0732b5859
Bug 759459 - Build broken on FreeBSD since patch for bug 745034 landed. r=terrence
2012-06-09 12:24:56 -04:00
Doug Turner
4f0025323f
Backed out changeset 401edab3831f - Bug 758273.
...
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Luke Wagner
30fb8bd782
Bug 761864 - add write barrier on generator close (r=terrence)
...
--HG--
extra : rebase_source : 08ebe7de84c89ccc2e737ddcf472f59c8cb42b74
2012-06-08 21:14:20 -07:00
Doug Turner
62093ffdb7
Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug
2012-06-08 20:15:04 -07:00
Rafael Ávila de Espíndola
b13a48e799
Bug 762071 - JS is being compiled with exceptions enabled. r=khuey.
2012-06-08 13:31:28 -04:00
Laurent Dulary
09cc80dcb7
Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap
2012-05-16 13:18:33 +02:00
Geoff Lankow
bdc2b4bb58
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Shu-yu Guo
9a24e0dd57
Support chained assignments in definite property analysis, bug 759978. r=bhackett
2012-06-05 00:36:25 -07:00
Nicholas Nethercote
a17b560818
Bug 761504 - Remove FunctionBoxQueue. r=luke.
...
--HG--
extra : rebase_source : a29c928103bac3a22897ace27b7b47a1350adf4d
2012-06-04 23:08:10 -07:00
Brian Hackett
8c7ce13920
Watch for script JIT handle invalidation after MakeJITScript, bug 759719. r=dvander
2012-06-04 19:51:57 -07:00
Phil Ringnalda
3f534fee74
Merge mozilla-central to mozilla-inbound
2012-06-04 19:09:19 -07:00
Lukas Blakk
76c1aefa1b
Merging in version bump NO BUG
2012-06-04 12:36:59 -07:00
Nicholas Nethercote
267c1cb82d
Bug 760337 - Add JS_ASSERT(table) where appropriate in HashTable.h. r=luke.
...
--HG--
extra : rebase_source : ab85f7061f79605afe54a6341612cededef35558
2012-06-04 00:00:24 -07:00
David Zbarsky
e0254c995e
Bug 591467 - Implement HTML5 Microdata API r=bz
2012-06-04 16:49:57 -07:00
Jeff Walden
ee02b3e6a7
Bug 761462 - Implement JS_CallNonGenericMethodOnProxy. r=luke
...
--HG--
extra : rebase_source : 84a9e118f00d5008cd84d12c4403d73bdf41993f
2012-06-01 23:39:09 -07:00
Luke Wagner
ab11ddaf4c
Bug 659577 - Add missing weak-pointer incremental barriers to DebugScopes (r=billm)
...
--HG--
extra : rebase_source : c98293c420177def6186f1487283bb888ef03e04
2012-06-04 12:00:51 -07:00
Terrence Cole
bc6b6320e6
Bug 761391 - Add some more exact stack rooters; r=bhackett
...
Another bevy of missing roots brought about by recent churn.
2012-06-05 16:52:41 -07:00
Steve Fink
759c928921
Bug 760904 - Force |this| to be Magic(JS_IS_CONSTRUCTING) when constructing cross-compartment DataViews. r=luke
...
--HG--
extra : rebase_source : f0d6a04d462758a4b10342512503327fe7bb03d2
2012-06-05 12:55:17 -07:00
Jan de Mooij
1a3bb88293
Bug 760413 - Update in-tree V8 benchmark to v7. r=dvander
2012-06-01 13:54:54 +02:00
Bobby Holley
d0a6dee976
Bug 751995 - Handle orphaned wrappers. r=peterv
2012-06-04 10:13:18 +02:00
Nicholas Nethercote
0d58fdbb5f
Bug 759246 (part 4) - Don't share inForInit between Parser and BCE. r=jorendorff.
...
--HG--
extra : rebase_source : e96817e8d326a2f8f034e6166f70a05b86aaa49c
2012-05-28 21:57:36 -07:00
Nicholas Nethercote
669c9daf03
Bug 759246 (part 3) - Initialize more SharedContext stuff via the constructor. r=jorendorff.
...
--HG--
extra : rebase_source : 8ffdf29429f0606181bf04c00d57d13bbb650b8d
2012-05-28 21:50:52 -07:00
Nicholas Nethercote
d13e6401dd
Bug 759246 (part 2) - Move SharedContext::functionList to TreeContext. r=jorendorff.
...
--HG--
extra : rebase_source : 96ddd5d4e48ed55dfe546e923cfa9bbe48a38234
2012-05-28 20:46:03 -07:00
Nicholas Nethercote
1e48727087
Bug 759246 (part 1) - Replace bce.sc with &sc where suitable. r=jorendorff.
...
--HG--
extra : rebase_source : e84178183c695e15ebacfafb789fdc9487902718
2012-05-28 20:43:06 -07:00
Phil Ringnalda
d576312c34
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2012-06-03 12:04:40 -07:00
Jan Varga
6e3e5ab48b
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Terrence Cole
373c2da2dd
Bug 760342 - Check explicitly for mis-use of HashTable::Enum; r=luke
...
If a user does removeFront or rekeyFront on an Enum, then continues to use it,
it will fail, potentially randomly. This patch makes the failure explicit in
debug builds.
2012-06-01 15:41:27 -07:00
Phil Ringnalda
a26e0375d1
Back out 19cfb43d77d3 (bug 751995) for Windows build bustage
2012-06-01 18:27:22 -07:00
Matt Brubeck
8f0eb7c918
Back out bug 760342 for Windows build error, bug 755070 for Android crashes, and bug 760458 because it depends on 755070
2012-06-01 17:45:02 -07:00
Terrence Cole
53b40ccbbb
Bug 760342 - Check explicitly for mis-use of HashTable::Enum; r=luke
...
If a user does removeFront or rekeyFront on an Enum, then continues to use it,
it will fail, potentially randomly. This patch makes the failure explicit in
debug builds.
2012-06-01 15:41:27 -07:00
Bobby Holley
e580a6cb4f
Bug 751995 - Handle orphaned wrappers. r=peterv
2012-06-02 00:24:22 +02:00
Joey Armstrong
4cbec42f85
bug 756443: Add mkdir_stem() to complement mkdir_deps. Strip extraneous slashes from given paths.
2012-06-01 17:26:50 -04:00
Chris Peterson
a37a36db1e
Bug 760335 - Suppress Android gcc 4.4 warnings about "mangling of 'va_list' has changed in GCC 4.4". r=vladimir
2012-05-31 17:43:01 -07:00
Terrence Cole
7130c13c89
Bug 759020 - Prevent jsreftest suite from swallowing crashes; r=dmandelin
...
--HG--
extra : rebase_source : fbbaec5c83e9ea5cbfba6833b96c73e7cfd8adf6
2012-05-31 16:34:40 -07:00
Jon Coppeard
df582c46e6
Bug 744053 - Check JITSCriptHandle is valid before attempting to destroy the script, r=bhackett
2012-06-01 10:14:13 -07:00
Boris Zbarsky
3f887fdbe1
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Peter Van der Beken
beae628a30
Bustage fix for bug 759275 (Specialize unwrapping to HTML elements in dom bindings). r=bz.
...
--HG--
extra : rebase_source : 61cf7b76955aa08aa6509b77f0a85a35dd782a21
2012-06-01 18:35:09 +02:00
Eddy Bruel
2812b28407
Bug 703537 - Followup: fix conflicts.
2012-06-01 13:19:06 +02:00
Eddy Bruel
3a1af88d80
Bug 703537 - Rename Wrapper to DirectWrapper; r=bholley
2012-06-01 12:51:20 +02:00
Brian Hackett
383626552a
Watch for GC under getType, bug 746103. r=dvander
2012-06-02 20:25:05 -07:00
Benjamin Peterson
2cbd830416
Bug 749818: add Number.isNaN, r=jwalden
...
--HG--
extra : rebase_source : f3faa700eb75c6106b0ebb421d53080e293b714a
2012-06-02 20:16:24 +02:00
Benjamin Peterson
85eb6e1455
Bug 759498: fix defaults when arguments are bound as functions, r=jorendorff
...
--HG--
extra : rebase_source : 6671517779bbaaf7cf1fd6410255823f877345ad
2012-06-02 20:16:24 +02:00
Benjamin Peterson
1e9de6b1f5
Bug 757676: implement default parameters in JaegerMonkey, r=bhackett
...
--HG--
extra : rebase_source : f5220941d9502d49b0c230081c265f845396a251
2012-06-02 20:16:24 +02:00
Tom Schuster
e932326aaf
Bug 752226 - Remove JSVAL_IS_OBJECT from the jsapi. r=dmandelin
...
--HG--
extra : rebase_source : 0943efd64ddf199a4cef12072239302408e5aae5
2012-06-02 20:15:38 +02:00
Luke Wagner
dc990a1b61
Bug 761439 - Make IndirectProxyHandler::nativeCall indirect (r=sfink)
...
--HG--
extra : rebase_source : 453c3b3711c71a75243d65e4646cfd8e02a60131
2012-06-04 16:34:45 -07:00
Blake Kaplan
f14f44ff14
Bug 751858 - Actually throw when we deny access. r=bholley
2012-05-04 14:22:55 +02:00
Steve Fink
259048cd90
Bug 759895 - Fix typed array rooting issues with destructor ordering. r=terrence
...
This is invalid:
RootedObject robj(cx, func(RootedObject(cx, obj)));
because Rooted<T> uses RAII to maintain a stack of rooted cells, which means it depends on constructors and destructors to properly nest. But the above code will call:
1. inner constructor
2. outer constructor
3. inner destructor
4. outer destructor
According to Luke, this is per spec; the temporary must last to the end of the statement.
--HG--
extra : rebase_source : b9ec3cacd5537a3ca2b7eee3edd73022d2e7f132
2012-05-24 22:29:50 -07:00
Andrew McCreight
e1d63b6895
Bug 761249 - abort if ClassInfo2WrappedNativeProtoMap or Native2WrappedNativeMap fail. r=bholley
2012-06-05 11:47:49 -07:00
Bobby Holley
ddaccb089a
Bug 758415 - Tests. r=mrbkap
2012-06-05 19:07:38 +02:00
Bobby Holley
2a4d653d5f
Bug 758415 - Remove double-wrapping infrastructure for Location objects. r=mrbkap
...
This is more or less just a backout of bug 739796, that caused so much pain. Huzzah!
2012-06-05 19:07:37 +02:00
Bobby Holley
b52375725c
Bug 758415 - Rip out old expando architecture. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
b6893e41c6
Bug 758415 - Switch WN Xrays to use the new expando infrastructure. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
409ee705e8
Bug 758415 - Expose AutoIdVector wrapping. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
b59ab77e3d
Bug 758415 - Copy expando objects during object transplanting. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
9610f7f05a
Bug 758415 - Implement expando object infrastructure for WN Xrays. r=mrbkap
...
Note: This overloads the naming of some of the existing infrastructure,
but the signatures etc are sufficient to disambiguate. The other infrastructure
goes away in a subsequent patch.
Note: We tag sandbox expandos with their global to make sure that the expandos
are never shared between sandboxes. A consequence of this scheme is that an
expando from a sandbox to an object will _always_ result in a GC edge back to
the sandbox, meaning that the sandbox is always kept alive for the lifetime of
the expando target. This could happen before, but only if a non-primitive expando
was placed (since the value of the expando would live in the consumer's
compartment). We could avoid this edge by using a reference-counted Identity()
object instead, but I suspect it's not worth worrying about.
2012-06-05 19:07:37 +02:00
Bobby Holley
80690d47d6
Bug 758415 - Refactor slim wrapper reserved slots so that we can use the same slot for expando objects in the non-slim case. r=mrbkap
...
Xray wrappers require that their wrappee be non-slim, so this works out perfectly.
2012-06-05 19:07:37 +02:00
Bobby Holley
1b1a7d4372
Bug 761121 - Add JSCLASS_HAS_CACHED_PROTO to the typed array instance JSClass. r=bhackett
2012-06-05 19:07:37 +02:00
Jeff Walden
771d1b6053
Bug 761457 - Change the signature of NonGenericMethodGuard to be more idiomatic and less confusing. r=luke
2012-06-01 23:39:09 -07:00
Jeff Walden
8b4b6cf472
Warning patrol. No bug, r=themaid
2012-06-04 18:25:53 -07:00
Jeff Walden
893298ef87
Bug 757551 - Remove JS_ConstructObject{,WithArguments}. r=dmandelin
2012-05-21 16:32:18 -07:00
Jeff Walden
548fed98d1
Bug 758499 - Remove JSRESOLVE_WITH. r=dmandelin
2012-05-24 23:54:05 -07:00
Phil Ringnalda
eb87e72a98
Back out ee940e4debd0:7636c7036e2e (bug 659577) for asserting in testBug550743.js
2012-06-01 00:12:22 -07:00
Jeff Walden
6400135f0b
Remove some extraneous includes and a function, all added in bug 714260. They were initially necessary when that patch was written, but they became vestigial during rebasing prior to landing, and this disuse wasn't noticed til now. r=lumpy
2012-04-19 16:36:31 -07:00
Luke Wagner
2ac6da719e
Bug 659577 - Don't alias stack variables (r=bhackett)
...
--HG--
rename : js/src/jit-test/tests/basic/testBug659577.js => js/src/jit-test/tests/basic/testBug659577-1.js
2012-02-23 13:59:10 -08:00
Luke Wagner
304ebf5156
Bug 659577 - Embed blockChain information in ALIASEDVAR ops (r=waldo)
...
--HG--
extra : rebase_source : ea0deae107902520b392ed1eeddcd8c6420945ee
2012-05-10 11:24:20 -07:00
Luke Wagner
da494c3aae
Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
...
--HG--
extra : rebase_source : e8496f21b3e025b5cee07f627e39535add9904f0
2012-04-11 18:09:20 -07:00
Luke Wagner
21a35c42d3
Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 2 (r=jimb)
...
--HG--
extra : rebase_source : 997dd4ccb8e2dce45b1d1eeae2ab7ec6679efed9
2012-05-09 23:03:12 -07:00
Luke Wagner
3ed77cf6a4
Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 1 (r=jimb)
...
--HG--
extra : rebase_source : ff45b986e1a260b0f935913533f9b1c1e1ffdad8
2012-05-02 09:56:02 -07:00
Luke Wagner
c75efd7e56
Bug 659577 - Don't alias stack variables (r=bhackett)
...
--HG--
extra : rebase_source : 0a7b6cae49e6de547de013c834d0ad258ecc3702
2012-02-23 13:59:10 -08:00
Luke Wagner
39abad9311
Bug 659577 - Embed blockChain information in ALIASEDVAR ops (r=waldo)
...
--HG--
extra : rebase_source : 4d5eb44ed9a04b0185d6a64ed1dad710cf079f3f
2012-05-10 11:24:20 -07:00
Luke Wagner
915b92d180
Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
...
--HG--
extra : rebase_source : 3698a6411ffcae90bbcfaa7a965d8de648b3e509
2012-04-11 18:09:20 -07:00
Luke Wagner
2dbf26f6da
Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 2 (r=jimb)
...
--HG--
extra : rebase_source : 1bd7e93270076aff49fdf5c23660d6678e3027c8
2012-05-09 23:03:12 -07:00
Luke Wagner
aefbea6068
Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 1 (r=jimb)
...
--HG--
extra : rebase_source : 7439c923afe48b3e63c498972c707eca947c53c9
2012-05-02 09:56:02 -07:00
Nicholas Nethercote
ec1cdcb284
Bug 710922 - Don't call m_pools.all() if m_pools isn't initialized. r=luke.
...
--HG--
extra : rebase_source : 72da22ce0e29d449da9ffa211b4b892ab7796303
2012-05-31 19:10:05 -07:00
Luke Wagner
8b0499a3a1
Bug 760071 - Debug scope proxies should allow the debugger to define new properties (r=jimb)
2012-05-31 17:44:00 -07:00
Benjamin Peterson
e6f4f0a5a9
Bug 759976: remove JSDEBUGGER* sections, r=jorendorff
...
--HG--
extra : rebase_source : 28218e232c0ad77f649ce7d56a430b8f2e20777c
2012-05-31 16:14:13 -05:00
Benjamin Peterson
580bad1a81
Bug 759902: reduce JSBool usage in js.cpp to a minimum, r=jorendorff
...
--HG--
extra : rebase_source : 096c936550ff7de2e89362a177fde76dfb58dbce
2012-05-31 16:14:04 -05:00
Benjamin Peterson
cf89c34c44
Bug 758428: complain when the compiler returns false without an error, r=jorendorff
...
--HG--
extra : rebase_source : 7a4b97f8e28c7d89ab682d9d21dcfe65b23b2939
2012-05-31 16:13:10 -05:00
Jason Orendorff
6088ac02f0
Fix building with --disable-e4x. No bug, r=jimb on IRC.
...
--HG--
extra : rebase_source : 7b9a7f8a6ec479caacbbf5ac36b89a0464efe897
2012-05-31 15:53:32 -05:00
Tom Schuster
edc8473e2a
Bug 420837 - Calling Iterator() without parameters should throw a better error message. r=luke
2012-05-31 23:28:39 +02:00
Joey Armstrong
d77723962d
bug 758782: mkdir_deps dependencies should be .PRECIOUS
2012-05-30 10:27:09 -04:00
Boris Zbarsky
c1f71caa1a
Merge backout of changeset f96e0f078b49 (bug 748266)
2012-05-31 16:21:05 -04:00
Boris Zbarsky
fddc56821d
Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too.
2012-05-31 16:20:49 -04:00
Jim Blandy
ee7b422e72
Bug 747514: Implement Debugger.Environment.prototype.callee accessor. r=jorendorff
2012-05-31 13:13:53 -07:00
Jim Blandy
b77c721225
Bug 747514: Assert that object environments' scopes are either WithObjects or non-DebugScopes. r=jorendorff
2012-05-31 13:13:53 -07:00
David Zbarsky
03ce34e73c
Bug 759504: return NULL instead of false for getPrototype r=peterv
2012-05-31 11:47:22 -07:00
Boris Zbarsky
c46a9a1068
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Benjamin Peterson
d7b7580d26
Bug 759904 - Make sure to call endBody on GenexpGuard, r=jorendorff
2012-05-31 10:57:04 -07:00
Bobby Holley
e597134b03
Bug 760076 - Make |construct| use Wrapper::CALL. r=mrbkap
2012-05-31 18:36:15 +02:00
Bobby Holley
2e1ac9db8c
Bug 760070 - Make the __exposedProps__ warning appear as an error. r=bz
2012-05-31 16:28:09 +02:00
Makoto Kato
c73fb09ad6
Bug 721284 - GMail broken on Windows builds with JS PGO enabled. r=dmandelin
2012-05-31 15:48:30 +09:00
Luke Wagner
8e80222787
Bug 758617 - Fix StackIter::settleOnNewState to handle cross-context eval-in-frame (r=jorendorff)
2012-05-29 14:46:42 -07:00
Jason Orendorff
38c10052c8
Bug 738468 - DebuggerScript_getUrl crashes if script->filename is null. r=jimb.
2012-05-30 15:05:59 -05:00
Jason Orendorff
c799346d5f
Bug 753885 - Part 3: Expose XML global constructors only if JSOPTION_ALLOW_XML is set. r=Waldo.
2012-05-30 15:05:59 -05:00
Jason Orendorff
9ec40fdc02
Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo.
2012-05-30 15:05:59 -05:00
Jason Orendorff
80dda6d7a5
Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo.
2012-05-30 15:05:58 -05:00
Jason Orendorff
55ea461d69
Bug 752632 - Support building SpiderMonkey without E4X by doing: configure --disable-e4x. r=jimb.
2012-05-30 15:05:58 -05:00
Jason Orendorff
21ca2fb32c
Follow-up to bug 755808 comment 6. rs=sfink on #jsapi.
2012-05-30 15:05:58 -05:00
Jan de Mooij
e9ef3850d5
Bug 759626 - Cache the result of InferSpewColorable to avoid a ton of getenv calls. r=bhackett
...
--HG--
extra : rebase_source : bcf1055b9f401561c1bbc33a4757177df1b81d60
2012-05-30 20:24:04 +02:00
Ed Morley
da18754c01
Merge mozilla-central to mozilla-inbound
2012-05-30 18:24:56 +01:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Peter Van der Beken
8839249ab0
Fix for bug 759275 (Specialize unwrapping to HTML elements in dom bindings). r=bz.
...
--HG--
extra : rebase_source : f676440e468c23e6c1e9458f6d75a615b9a6b8d7
2012-05-21 23:29:58 +02:00
Jan de Mooij
d5ef014643
Bug 756632 - Handle OOM in methodjit jsop_getgname/jsop_setgname methods. r=bhackett
2012-05-30 10:16:20 +02:00
Jan de Mooij
6a44e7c6e3
Bug 756610 - Handle OOM in js_CopyErrorObject. r=bhackett
2012-05-30 10:06:49 +02:00
Nicholas Nethercote
f587587628
Bug 754181 - Don't store the strict mode code flag twice (attempt 2). r=jwalden,luke.
...
--HG--
extra : rebase_source : 449cd51da93c261aa38e7de6b5b6a9c0ac8c7a71
2012-05-21 20:06:43 -07:00
Bobby Holley
a63c18d790
Bug 752038 - Avoid getting confused by PreCreate giving a different answer when we wrap objects cross-compartment during reparenting. r=mrbkap
2012-05-29 23:24:03 +02:00
Timothy B. Terriberry
9387e956b1
Bug 759008 - Remove unused LIBOBJS from rules.mk, r=glandium
2012-05-29 11:54:31 -07:00
Jan de Mooij
56fe893404
Bug 759409 - Cleanup methodjit CompileRequest. r=bhackett
2012-05-29 19:45:13 +02:00
Ed Morley
13dfef4805
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-28 14:13:56 +01:00
Mike Hommey
917a6805ca
Bug 758010 - Wrap operator new/delete on Android. r=khuey
2012-05-26 10:21:33 +02:00
Till Schneidereit
cc1b3bb0a3
Bug 758278 - Sweep crossCompartmentWrappers of all compartments, not only GCed ones. r=billm
2012-05-24 19:04:44 +02:00
Ginn Chen
d1b7847442
Bug 758484 correct comment syntax for mapfile r=ted.mielczarek
2012-05-28 09:31:51 +08:00
Benjamin Peterson
ccc0336692
Bug 757676 - Implement JS default parameters. r=jorendorff
2012-05-26 09:33:53 -04:00
David Rajchenbach-Teller
e20fa1d8da
Bug 757469 - Implement ctypes.off_t. r=jorendorff
2012-05-26 09:33:52 -04:00
dev
a34d2b297b
Bug 755631 - Remove extraneous exceptions in Cross Origin Wrappers. r=mrbkap
2012-05-26 09:33:52 -04:00
Ed Morley
28d48cf58f
Merge mozilla-central to mozilla-inbound
2012-05-25 22:44:48 +01:00
Bill McCloskey
5c02b0c61b
Back out bug 753283 for windbg purple
2012-05-25 13:50:18 -07:00
Mike Hommey
7407614648
Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648
2012-05-25 18:21:03 +02:00
Ms2ger
6f9dcfb48d
Merge m-c to m-i.
2012-05-25 11:15:32 +02:00
Ms2ger
1bbdb6aa38
Bug 747434 - Part 3: Remove unused variable 'startingObj' from XPCWrappedNativeScope::FindInJSObjectScope; r=gabor
2012-05-25 09:18:31 +02:00
Ms2ger
a552eafda2
Bug 758143 - Add xpc::GetCompartmentPrivate; r=bholley
2012-05-25 09:18:31 +02:00
Ms2ger
61eec5d79c
Bug 758132 - Remove warning pragma from jscompartment.h; r=luke
2012-05-25 09:18:30 +02:00
Bill McCloskey
5ad52acee0
Bug 758471 - Don't sweep native interfaces during compartment GC (r=bholley)
2012-05-25 11:06:13 -07:00
Bill McCloskey
35bf0b32de
Bug 753283 - Poison VM stack to help fuzzers (r=bhackett)
2012-05-25 10:53:19 -07:00
Bobby Holley
35b5448ba4
Bug 758563 - Warn when __exposedProps__ is missing. r=bz
2012-05-25 18:42:40 +02:00
Brian Hackett
0c72d188da
Move JIT handles in scripts to a separate structure, bug 758613. r=dvander
2012-05-25 08:20:33 -07:00
Luke Wagner
705d064b67
Bug 756919 - Handle prologue failure in ScopeIter (r=jimb)
2012-05-25 11:44:41 +02:00
Luke Wagner
c797a64626
Bug 756918 - Fix aliased, empty destructuring let (r=waldo)
2012-05-25 11:44:38 +02:00
Jeff Walden
733e55cddf
Bug 757562 - Remove JSRESOLVE_CLASSNAME. r=dmandelin
...
--HG--
extra : rebase_source : 9b5a920f7c7441ee21b2dd2331a98fc70b42ed41
2012-05-21 18:08:11 -07:00
Mike Hommey
81d7a61a74
Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted
2012-05-25 08:31:33 +02:00
Steve Fink
1603983ba5
Bug 758108 - Display test failures immediately. r=terrence
...
--HG--
extra : rebase_source : 193d233c56c684a63b3f93daf5903f7aef4ccfa2
2012-05-24 22:06:48 -07:00
Ryan VanderMeulen
a988aa6623
Backout 3a9f8be665a4 (bug 757469) due to orange.
2012-05-23 22:42:53 -04:00
David Rajchenbach-Teller
9b5237d71c
Bug 757469 - Implement ctypes.off_t. r=jorendorff
2012-05-23 20:56:40 -04:00
Nicholas Nethercote
81edab3471
Bug 757690 - Follow-up: don't use a line number of 0 in the JS shell. r=jorendorff.
...
--HG--
extra : rebase_source : df78cd577d256c5b75aaeb496950d5af287e1b90
2012-05-23 17:43:10 -07:00
Bill McCloskey
8eb4a8104a
Backout bug 757667 for bustage
2012-05-23 17:14:26 -07:00
Nicholas Nethercote
dee1e014ca
No bug - Remove dead JS_SCRIPT_COOKIE. r=jorendorff (via IRC).
...
--HG--
extra : rebase_source : 35e8b3919f4566dda17bbaa5b8f8738bc71669d0
2012-05-23 16:19:39 -07:00
Nicholas Nethercote
ff539b503d
Bug 757690 - Merge TokenStream::TokenStream() and TokenStream::init(). r=jorendorff.
...
--HG--
extra : rebase_source : a389e46e1c633a133a2f8b68b3cb5fa186c8c1fd
2012-05-23 16:18:51 -07:00
Bill McCloskey
7ef82bb0e8
Bug 757667 - Clean up Proxy tracing (r=terrence)
2012-05-23 16:31:26 -07:00
Bill McCloskey
62c14c9821
Bug 757483 - Don't throw away JIT code during later incremental slices (r=bhackett)
2012-05-23 16:27:15 -07:00
Bill McCloskey
762b5ce3a4
Bug 731423 - Don't do incremental GC when hitting alloc trigger (r=gwagner)
2012-05-23 16:24:26 -07:00
Phil Ringnalda
df4734c415
Back out 58ca5bf07352 (bug 738480) for xpcshell and browser-chrome orange on a CLOSED TREE
2012-05-23 15:21:55 -07:00
Terrence Cole
8543692492
Bug 730933 - Make IsAboutToBeFinalized indirect; r=billm
...
This additionally moves the interface into js::gc:: and renames it to
CheckFooMarked.
--HG--
extra : rebase_source : cbe66c7219cfc637f8655e3356040e532252183a
2012-05-23 10:34:29 -07:00
Bill McCloskey
a09fc7a134
Bug 754989 - Fix copy-paste error (r=bholley)
2012-05-23 10:32:13 -07:00
Bill McCloskey
c59f4426a6
Bug 754989 - Assert for cross-compartment wrappers (r=bholley)
2012-05-23 10:17:21 -07:00
Jason Orendorff
c7dbc89b0c
Bug 738480 - Debugger.prototype.findScripts does not find non-compileAndGo scripts. r=jimb.
...
--HG--
extra : rebase_source : e66841593e3a8d05fda50e1cdbbb7068713eff81
2012-05-23 12:06:02 -05:00
Benjamin Peterson
39bc920a58
Bug 574132 - Implement rest parameters for JavaScript. r=jorendorff.
2012-05-23 10:31:35 -05:00
Gregory Szorc
3831df8bd3
Bug 757397 - Make test package generation quieter; r=ted
...
This may reduce the size of the buildbot build logs by up to half!
--HG--
extra : rebase_source : 87b3f2f40654d69ecd91e19520e2341fc8aac9a6
2012-05-23 16:51:21 +02:00
Jan de Mooij
fd4475790b
Bug 756600 - Initialize TokenStream::sourceMap in constructor instead of init. r=njn
2012-05-23 13:37:43 +02:00
Nicholas Nethercote
071de96c1e
Bug 754641 - Fix 32-bit --disable-methodjit builds after bug 739512. r=luke.
2012-05-22 18:37:09 -07:00
Chris Coulson
9d45082c82
Bug 757518 - Don't get stuck in a loop on systems where /usr/bin/makedepend does not exist. r=ted
2012-05-22 20:21:46 -04:00
Nils Maier
35431284b1
Bug 754771 - Add identifying information to all system compartments. r=bz
2012-05-16 19:42:10 +02:00
Gabor Krizsanits
63a5c4284b
Bug 747434 - Part 2: Optional Components object in sandbox. r=bholley
2012-05-22 20:21:45 -04:00
Gabor Krizsanits
c2807c5ab1
Bug 747434 - Part 1: Remove DEBUG_CheckForComponentsInScope. r=bholley
2012-05-22 20:21:45 -04:00
David Rajchenbach-Teller
6851acb366
Bug 732936 - ImplicitConvert can convert an ArrayBuffer to C array or pointer. r=jorendorff
2012-05-15 14:59:21 +02:00
Nicholas Nethercote
44fa613fa9
Bug 757336 - Clean up probes handling in CompileScript(). r=sfink.
...
--HG--
extra : rebase_source : e615f67b96949c56d60fec01ab542a2401943e4f
2012-05-22 16:50:10 -07:00
Bill McCloskey
25432a4139
Bug 754989 - Change cross-compartment wrapper map keying (r=bholley)
2012-05-22 14:54:50 -07:00
Bill McCloskey
f841660ab2
Bug 754989 - Nuke dead cross-compartment wrappers during brain transplant (r=bholley)
2012-05-22 14:54:08 -07:00
Bill McCloskey
66b701ad81
Bug 754588 - Set rt->gcPoke when doing xpconnect unrooting (r=mccr8)
2012-05-22 14:06:58 -07:00
Eddy Bruel
6cf9ac7eb4
Bug 757063 - Make sure ScriptedProxyHandler::defaultValue forwards to BaseProxyHandler, not IndirectProxyHandler; r=bholley
2012-05-22 21:42:21 +02:00
Jim Blandy
d79b51732d
Bug 754146: Root *all* the objects we encounter while reversing the heap. r=billm
2012-05-22 12:16:17 -07:00
Bill McCloskey
2bd1d49b08
Bug 756732 - Add implements barrier flag to block class (r=luke)
2012-05-22 12:11:07 -07:00
Eddy Bruel
6e67896cd9
Bug 703537 - Add DirectProxyHandler; r=bholley
2012-05-22 20:21:21 +02:00
Ehsan Akhgari
c3c06d86cd
Merge from mozilla-central
2012-05-22 10:51:49 -04:00
Ehsan Akhgari
ab9253304f
Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
...
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart. This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.
Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.
--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Mike Hommey
bee280e4c7
Bug 703833 - Add an uintptr_t alternative to the jsval payload, and use it for MarkStackRangeConservatively. r=luke
2012-05-22 08:45:13 +02:00
Mike Hommey
2682d05bb2
Bug 756740 - Allow to build for mipsel with Android NDK r8 (libffi part). r=ted
2012-05-22 08:40:39 +02:00
Mike Hommey
b997ff5138
Bug 756740 - Allow to build for mipsel with Android NDK r8. r=ted
2012-05-22 08:40:32 +02:00
Mike Hommey
c435208046
Bug 756575 - Fix android-platform detection for android-x86. r=ted
2012-05-22 08:40:05 +02:00
Mike Hommey
4403092150
Bug 735223 - Drop support for ancient NDKs. r=ted
2012-05-22 08:37:37 +02:00
Brian Hackett
cac83a8747
Throw on incompatible calls to gcPreserveCode() and mjitChunkLimit(), bug 755639. r=dvander
2012-05-21 20:34:22 -07:00
Brian Hackett
198870bd80
Monitor results of initializer opcodes, bug 755750. r=dvander
2012-05-21 20:30:14 -07:00
Ryan VanderMeulen
aa8d11c9a8
Backout 5130ffc92faf (bug 574132) due to debug orange.
2012-05-21 21:30:18 -04:00
Matthew Gregan
806cc4fe30
Bug 756944 - Import ALSA cubeb backend. r=doublec
2012-05-21 15:54:17 +12:00
Benjamin Peterson
510dbca21f
Bug 574132 - Implement harmony rest parameters. r=jorendorff
2012-05-21 20:38:05 -04:00
Bill McCloskey
c6408b1ccb
Backout bug 723350 for OOMs (rs=akeybl)
2012-05-21 16:44:19 -07:00
Benjamin Smedberg
e96ca303eb
Bug 740795 part C - Don't ship pdf.js as an extension, build changes, r=ted
...
--HG--
extra : rebase_source : 2008d063ce9969f1e3846a69b403016c0f60db60
2012-05-18 12:42:01 -04:00
Gervase Markham
5d77e60a9e
Bug 716478 - update line numbers in XPCshell tests, necessary because of updating licence to MPL 2 with new, shorter boilerplate.
2012-05-21 12:13:52 +01:00