Bobby Holley
d3655aa616
Bug 767948 - Make assertion nonfatal. r=me
2012-06-25 15:24:21 +02:00
Nicholas Nethercote
b08640ad29
Bug 754739 - Clean up front-end error reporting. r=jwalden.
2012-06-24 22:50:21 -07:00
Nicholas Nethercote
1f32c8faaa
Bug 634800 - Clean up reportCompileErrorNumberVA(). r=jwalden.
2012-06-13 23:23:01 -07:00
Luke Wagner
6a04bcb53c
Bug 756864 - Decrease MAX_FRAMES in XPCJSStackFrame::CreateStack (r=bhackett)
2012-06-23 20:47:10 -07:00
Luke Wagner
2566d2e820
Bug 756864 - Avoid quadratic cost of JS_GetFramePC when the stack is deep (r=bhackett)
2012-06-23 20:46:14 -07:00
Jeff Walden
873826e87c
Bug 751377 - Begin to implement [[GetOwnProperty]] for named properties in the new representation. r=bhackett
...
--HG--
extra : rebase_source : 87bf1863596e92c987ebc6aeedbd7829fbecfa8f
2012-05-17 11:38:25 -07:00
Jeff Walden
54f304976b
Bug 751377 - Add handles to all the new meta-object APIs. r=bhackett
...
--HG--
extra : rebase_source : 879302249be14da57c6945899961e63a08375279
2012-06-14 19:13:34 -07:00
Jeff Walden
457cf0d407
Bug 751377 - Introduce a new union type to use for property keys in shapes. (jsid is what's currently used, and it's unsuitable because it can also store indexes, but in the new object representation shapes will never hold indexes.) r=bhackett
...
--HG--
extra : rebase_source : 63d2e5753fc59eac1919368f25485995f0f08a95
2012-06-06 16:28:44 -07:00
Jeff Walden
b0c16ab534
Bug 751377 - Add resolve-flags arguments to all the element-access APIs that might call a resolve hook, since resolve flags appear like they'll be with us for at least the near future. :-\ r=bhackett
...
--HG--
extra : rebase_source : 801af07a8562a9df62b8cc205593f76a957cd67e
2012-05-29 12:01:32 -07:00
Jeff Walden
bda7170ce4
Bug 766347 - Adjust Handle<T> constructors to only accept Rooted<S> or Handle<S> where S is convertible to T. r=luke
...
--HG--
extra : rebase_source : 5cd1b32a977b4172fbad256a9bbd4a28e8314cdd
2012-06-19 15:01:58 -07:00
Luke Wagner
bbae81d96a
Bug 755186 - add JSCompartment::global (r=jorendorff)
...
--HG--
extra : rebase_source : 0a54699e01350611f1de69845cfe05b1506c40cb
2012-06-20 08:57:29 -07:00
Luke Wagner
0c274df8bd
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Luke Wagner
5d7c3690be
Bug 755186 - rm JS_NewGlobalObject (r=jorendorff)
...
--HG--
extra : rebase_source : d9ba442572836406e165cdff11a646e6fd498c03
2012-06-20 08:57:29 -07:00
Luke Wagner
87052fbe46
Bug 766064 - Remove overly-conservative assertion (r=jorendorff)
...
--HG--
extra : rebase_source : 3228f7ce771c7dda14571a16e998b4efd9b9bbd9
2012-06-20 08:57:29 -07:00
Terrence Cole
215608f0a9
Bug 504735 - Passing --disable-threadsafe to JS configure enables threadsafe; r=ted
...
Apparently, this has been true for at least 3 years. Fixed now.
2012-06-22 16:40:34 -07:00
Ehsan Akhgari
591708d667
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 (more jsd parts); r=Waldo
2012-06-19 23:43:15 -04:00
Steve Fink
222b385266
Bug 764184 - Fix GC_REASON telemetry bucket count (r=froydnj)
...
--HG--
extra : rebase_source : 790f6727878f44e7cf424d9e32a85347416df625
2012-06-15 15:21:56 -07:00
Gary Kwong
0f80188dd7
Bug 719750 - Remove extraneous print statement.
...
--HG--
extra : rebase_source : f0437db62e2184778bd4ef94f6284fddc8e27c02
2012-06-22 12:25:29 -07:00
Steve Fink
bb8f1d1cc9
Backed out changeset c33a30aedb3b (bug 764184)
2012-06-22 12:22:00 -07:00
Bill McCloskey
995b63640b
Bug 715761 - Fix build error
2012-06-22 12:12:49 -07:00
Gary Kwong
a73c4e423d
Add a test for bug 719750.
2012-06-22 12:02:02 -07:00
Bill McCloskey
ac4296dd82
Bug 715761 - Rename XPCWrappedNativeScope::TraceJS (r=bholley)
2012-06-22 11:37:22 -07:00
Bill McCloskey
352704a8a6
Bug 715761 - De-insanify xpconnect wrapper tracing (r=bholley)
2012-06-22 11:34:51 -07:00
Bill McCloskey
1ca664233d
Bug 764850 - Don't run write barrier verifier during shutdown (r=terrence)
2012-06-22 11:31:00 -07:00
Bill McCloskey
64f2dc870e
Bug 765313 - script->types is getting thrown out too soon in JSScript::ensureRanAnalysis (r=bhackett)
2012-06-22 11:30:54 -07:00
Bill McCloskey
3a22f60ac8
Bug 766355 - Fix GC valgrind warnings (r=terrence)
2012-06-22 11:30:48 -07:00
Bill McCloskey
d38c1a4856
Bug 766707 - Free dynamic slots if we OOM during object allocation (r=dvander)
2012-06-22 11:28:49 -07:00
Bill McCloskey
327d6081b3
Bug 767234 - Don't invoke write barrier on generator slots (r=luke)
2012-06-22 11:24:20 -07:00
Steve Fink
e0bf7c92f3
Bug 764184 - Fix GC_REASON telemetry bucket count (r=froydnj)
...
--HG--
extra : rebase_source : b4b9015caab404d8a4b674349fc27ade09dd3ec5
2012-06-15 15:21:56 -07:00
Mike Hommey
ff3ca94566
Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey
2012-06-22 18:33:17 +02:00
Mike Hommey
e6a15d8366
Bug 766975 - Rename OBJS-related dependency files. r=khuey
2012-06-22 18:29:03 +02:00
Jon Coppeard
0210441fac
Bug 763984: Simplify the code and use the same path for incremental/non-incremental GC r=billm
...
--HG--
extra : rebase_source : 1b9e2601fd97cd6fb6ff9f661ee394ac80339736
2012-06-22 11:26:08 +01:00
Jon Coppeard
4704232490
Bug 763984: Add new zeal modes to test incremental GC r=billm
...
--HG--
extra : rebase_source : 0392bc3985442eb3b378b1f5a47a757f55106fdc
2012-06-22 11:25:21 +01:00
Bobby Holley
3a4cddc21b
Bug 767306 - Temporarily make assertion from bug 766641 non-fatal. r=me
2012-06-22 12:01:18 +02:00
Jeff Walden
7c779a3ee5
Bug 758913 - Remove JSCLASS_NEW_RESOLVE_GETS_START. r=dmandelin
2012-06-05 17:39:30 -07:00
Cameron McCormack
ecb2356ad5
Bug 448573 - Match French localisations of MSVC version banners. r=ted,dmandelin
2012-06-22 11:55:04 +10:00
Gregor Wagner
e0fb5f76e3
Bug 767230 - Don't trigger a GC in MaybeGC when we are still sweeping in the background. r=billm
2012-06-21 18:44:46 -07:00
Benjamin Peterson
0b46b17f1d
Bug 765055: bind rest argument when defaults are present, r=jorendorff
2012-06-21 16:53:46 -07:00
Nicholas Nethercote
4747c639a1
Bug 764714 (part 3) - Remove BytecodeEmitter::GlobalScope. r=jorendorff.
2012-06-13 23:29:04 -07:00
Nicholas Nethercote
97aa494461
Bug 764714 (part 2) - Move Parser::callerFrame to BytecodeEmitter. r=jorendorff.
2012-06-13 23:28:04 -07:00
Nicholas Nethercote
44499374d0
Bug 764714 (part 1) - Only set JSScript::savedCallerFun when appropriate. r=jorendorff.
2012-06-13 17:26:31 -07:00
Nicholas Nethercote
6b90428d43
Bug 766821 - Clear dead wood from Bindings. r=luke.
...
--HG--
extra : rebase_source : 88a769b7cc17ba4c850208e5c59916c1f7b2bde8
2012-06-20 19:14:35 -07:00
Jeff Walden
fdc16c2d6a
Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
...
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Bobby Holley
34bf2a92a6
Bug 755255 - Rename XPCThreadContext.cpp to XPCJSContextStack.cpp, since that's all that's left. r=mrbkap
...
--HG--
rename : js/xpconnect/src/XPCThreadContext.cpp => js/xpconnect/src/XPCJSContextStack.cpp
2012-06-21 16:14:49 +02:00
Bobby Holley
db2c1b417f
Bug 755255 - Remove XPCPerThreadData. r=mrbkap
...
\o/
2012-06-21 16:14:49 +02:00
Bobby Holley
25a83a9ffb
Bug 755255 - Remove thread iteration in XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
dbfd454b32
Bug 755255 - Remove mThreadData from XPCCallContext. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
6e85f24e95
Bug 755255 - Remove threadsafety checking machinery. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
7fbbe863c9
Bug 755255 - Hoist Resolving* machinery into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
d12bcc07cc
Bug 755255 - Remove Usage of XPCPerThreadData::IsMainThread. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
2ac86947b8
Bug 755255 - Hoist auto root list into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
e673afa8f2
Bug 755255 - Hoist pending exception junk into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
718b02a083
Bug 755255 - Make consumers of mCallContext go through XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
1b1b37d7aa
Bug 755255 - Hoist mCallContext into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
d2e4d37f1e
Bug 755255 - Make consumers of GetJSContextStack go through XPCJSRuntime. r=mrbkap
2012-06-21 16:14:48 +02:00
Bobby Holley
e5ccf7ea31
Bug 755255 - Add a convenience function to grab the JS runtime. r=mrbkap
...
I started getting sick of typing nsXPConnect::GetXPConnect()->GetRuntime().
2012-06-21 16:14:48 +02:00
Bobby Holley
83f0362c53
Bug 755255 - Hoist mJSContextStack into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:48 +02:00
Bobby Holley
824551c799
Bug 766018 - Null out the XPCWrappedNativeScope slot when scopes are deleted on shutdown. r=peterv
2012-06-21 16:14:48 +02:00
Mike Hommey
61c2f7921a
Fixup for pymake after bug 763987. r=ted
2012-06-21 14:50:42 +02:00
Randell Jesup
435602cf1a
Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium
2012-06-20 07:27:43 -04:00
Ed Morley
976e703db3
Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage
2012-06-21 10:00:36 +01:00
Jeff Walden
1c82d6223a
Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
2012-06-14 19:13:27 -07:00
Bobby Holley
199645d62c
Bug 732870 - Have nsDOMStringMapSH::PreCreate use the element as its parent, rather than the window. r=peterv
2012-06-21 10:02:36 +02:00
Bobby Holley
6ca66fb5a5
Bug 753162 - Don't assume that we end up in the same compartment as we started in CrossCompartmentWrapper. r=mrbkap
2012-06-21 09:53:49 +02:00
Mike Hommey
13388d7565
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Jim Blandy
bdae02798a
Bug 757400: When we change a compartment's debug mode, ensure we throw away all the outdated analyses. r=billm
...
Always do a cleansing GC when we turn debug mode off, as well as when we
turn it on. If we don't, it's possible to have stale analyses (generated in
the wrong debug mode state) stick around, and we'll assert in JM.
Have ShouldCleanUpEverything recognize gcreason::DEBUG_MODE_GC as a reason
to discard all jit code and analyses.
2012-06-20 19:14:44 -07:00
Benjamin Peterson
3d0373f154
Bug 764508 - Remove header if it is no longer needed, r=jorendorff
2012-06-20 16:33:19 -07:00
Jeff Walden
b8d624d78f
Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ
2012-06-20 15:49:56 -07:00
Jeff Walden
cd9ccb6f57
Fix a NULL-to-bool conversion warning. No bug, trivial, r=themaid
2012-06-20 15:30:14 -07:00
Jeff Walden
db39c5b92b
Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
...
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Aki Sasaki
ccbb1b957f
bug 765808 - fix bare 'dn' typo. r=glandium
2012-06-20 13:59:23 -07:00
Benjamin Peterson
c8d1f2b3b2
Bug 765280 - Fake stack depth, so various opcodes that depend on absolute stack depth are not confused, r=jorendorff
2012-06-20 12:03:04 -07:00
Luke Wagner
969c90af65
Bug 764401 - Fix the debugger not to assume the arguments object has been created if needsArgsObj (r=jimb)
...
--HG--
extra : rebase_source : 7fec2830eb639c5a702685a023d1a6d20cfe2500
2012-06-20 08:56:12 -07:00
Ehsan Akhgari
79476e0c44
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 (more xpconnect parts); r=bholley
2012-06-19 23:33:46 -04:00
Ed Morley
a65198a62d
Merge mozilla-central to mozilla-inbound
2012-06-20 11:03:50 +01:00
Mike Hommey
2c40a7fa85
Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage
2012-06-20 10:55:59 +02:00
Mike Hommey
e1f994d15f
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-06-20 10:53:31 +02:00
Mike Hommey
3beac338fb
Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted
2012-06-20 09:45:45 +02:00
Nicholas Nethercote
540d4de6c6
Bug 766004 - Remove LookupCompileTimeConstant(). r=bhackett.
...
--HG--
extra : rebase_source : 27e505a79158eb87fd38adf700bc21a666415733
2012-06-19 18:05:43 -07:00
Nicholas Nethercote
8fd90f055f
Bug 765976 - Simplify CompileFunctionBody's control flow. r=sfink.
...
--HG--
extra : rebase_source : 4d5e88fdae064f5a68c0938ee5cbc6e619d02c85
2012-06-18 16:54:55 -07:00
Fabrice Desré
7a73ff8ad0
Bug 766378 - adds a createArrayIn() call to create JS arrays in a given scope [r=mrbkap]
2012-06-19 16:54:46 -07:00
Masatoshi Kimura
0a16a56d7f
Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap
2012-06-19 19:01:10 -04:00
Andrew McCreight
e84af3afd0
Bug 763776 - refactor nsXPConnect::Traverse. r=billm
2012-06-19 11:33:00 -07:00
Andreas Gal
e33f6ca94b
Bug 637014 - use the right global in MakeFinalizeObserver (r=luke)
2012-06-19 11:13:42 -07:00
Benjamin Smedberg
ed825e08a8
Bug 755724 part A - add makefile variable DIST_SUBDIR to ship code to a subdirectory of dist/bin, r=ted
...
--HG--
extra : rebase_source : ef52dff3c4f42b99148e99335ee82d9a207faf46
2012-06-19 10:45:24 -04:00
Mike Hommey
95bbba592a
Backout changeset efc2f07a829b (bug 734125) because of bustage
2012-06-20 09:23:41 +02:00
Mike Hommey
dc16dcec90
Re-sync config/config.mk after bug 763987. r=me
2012-06-20 09:14:05 +02:00
Mike Hommey
028b759dbf
Bug 764286 - Remove unused AC_SUBSTs. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
7d33543b83
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
2026efa911
Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted
2012-06-20 09:00:48 +02:00
Jeff Walden
bbbbea1dec
Initialize an outparam (to a totally bogus value) so that gcc doesn't complain about may-be-used-uninitialized in a case that can't actually be reached. No bug, rs=jorendorff
...
--HG--
extra : rebase_source : c1aed684b0113e4cfcff55f43b5a6e6e460fafe6
2012-06-15 14:59:34 -07:00
Jeff Walden
08838770af
Bug 765341 - Change js_ValueToAtom to return a JSAtom* directly, and rename it to js::ToAtom. r=sfink
...
--HG--
extra : rebase_source : 44f039cd09ac2ab1825e7f9fd1e2a01f5907bb67
2012-06-12 16:03:10 -07:00
Jeff Walden
b6fa2253dc
Fix narrowing-initializer warnings with gcc 4.7. No bug, r=themaid
...
--HG--
extra : rebase_source : a5cf16fbc9eb408a9eb286a2f0bb6194835a4bc2
2012-06-12 15:03:12 -07:00
Jeff Walden
35fb39c8b3
Fix an obvious bool-to-pointer conversion warning, no bug, r=sparky
...
--HG--
extra : rebase_source : 19e61d09183c54e413ef1f76ae47a623edbed464
2012-06-18 13:48:58 -07:00
Tom Schuster
a609b6f9e9
Bug 720396 - Fix Debugger.addDebuggee with Debuger.prototype. r=jorendorff
2012-06-19 17:24:57 +02:00
Mike Hommey
f600664217
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
Peter Van der Beken
eeca8d5fd4
Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz.
2012-06-04 21:41:51 +02:00
Terrence Cole
3caa851bc7
Bug 765436 - Remove WrappedNative2WrapperMap; r=mrbkap
...
It is completely unused.
--HG--
extra : rebase_source : c267f58324d2b9ff8b7558253c23e2aa01c681ec
2012-06-18 18:47:55 -07:00
Terrence Cole
505612f32d
Bug 765909 - Report slice when time as slice start, not end; r=billm
...
--HG--
extra : rebase_source : 8ccea5f0d1bb06f2bff26a96d9d0c43556757e42
2012-06-18 18:15:06 -07:00
Bill McCloskey
3c71eb2278
Bug 754725 - Fix type tags during VM stack scanning (r=bhackett)
2012-06-18 17:04:56 -07:00
Bill McCloskey
4c2d61cf13
Bug 757431 - Fix stack scanning in Splat (r=bhackett)
2012-06-18 17:04:52 -07:00
Bill McCloskey
a28b77fa3e
Bug 758846 - Disable cross-compartment wrapper checking during creation (r=luke)
2012-06-18 17:04:48 -07:00
Bill McCloskey
b8cfc6f014
Bug 762982 - Fix verifybarriers() shell call (r=luke)
2012-06-18 17:04:43 -07:00
Jeff Walden
fb7e6c0e93
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Joey Armstrong
5ae0125514
bug 757855: move xpidl* logic into a named makefile - batch #1
2012-06-01 11:13:07 -04:00
Nils Maier
624a6d1617
Bug 759783: Add identifying origin information to Javascript sandboxes. r=jlebar
2012-06-18 13:09:17 -04:00
Luke Wagner
a546dae90d
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
92b4b22798
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
7bcf107d34
Bug 763433 - Clarify compartment semantics for ExposedPropertiesOnly. r=mrbkap
2012-06-18 15:47:09 +02:00
Jan de Mooij
470afb9d91
Bug 765733 - Don't emit singleton array initializers for empty arrays. r=bhackett
2012-06-18 16:54:22 +02:00
Bobby Holley
1361f9e280
Bug 763381 - Fix up compartment situation for expando objects. r=mrbkap
2012-06-18 15:28:11 +02:00
Bobby Holley
61f2c7b855
Bug 763381 - Pass cx around in more places. r=mrbkap
2012-06-18 15:28:11 +02:00
Bobby Holley
eb49fa0fd9
Bug 764289 - Null-check desc->obj after calling Proxy::getPropertyDescriptor. r=jorendorff
2012-06-18 15:19:39 +02:00
Luke Wagner
6ad1fafe50
Bug 764249 - Fix the non-reentrant-closure fix in bug 762473 (r=dvander)
2012-06-17 23:44:27 -07:00
Luke Wagner
6e0566a137
Backout 925c31734424 (wrong bug, wrong patch)
2012-06-17 23:40:47 -07:00
Ms2ger
587f726fbe
Bug 762436 - Get rid of the nsresult return value for nsIXPCScriptable::GetScriptableFlags(); r=mrbkap
2012-06-17 10:11:16 +02:00
Gregor Wagner
690cbd60df
Bug 764682 - Implement wifi events in c++. r=smaug
2012-06-16 11:14:12 -07:00
Benjamin Peterson
90142e4f80
Bug 763954: give the rest argument integer properties, r=bhackett
2012-06-16 17:27:13 +12:00
Terrence Cole
82639a6888
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
44edd4a058
Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob
2012-06-15 16:25:51 -04:00
Terrence Cole
65eb4f944e
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
61537ff496
Bug 749385 - use deferred release in nsHTMLDocumentSH::ReleaseDocument. r=peterv
2012-05-18 15:00:19 -07:00
Luke Wagner
4f2f1f18f9
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
2536fb188a
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
9ef4312c8c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Bobby Holley
bb38fbaa32
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
49bd730fa1
Bug 764389 - Add an API to change the principals of a compartment. r=luke
2012-06-15 08:30:09 +02:00
Nicholas Nethercote
7e69975da8
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
59fb42e7fb
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
b1ec4db533
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
9f56b162a9
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
3acf5d646d
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
0af4bae0e7
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
a22fa09a2c
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
786c8f0cb6
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
5197ad94b8
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
14e3dd9f42
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
ccd2c6ef0e
Backed out changeset 35c79f50d85f
...
--HG--
extra : rebase_source : a84a5c5554e087f71771c2e3c180405dfdc750c3
2012-06-14 17:06:01 -07:00
Terrence Cole
a15344ecde
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é
e703351031
Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug]
2012-06-14 16:03:55 -07:00
David Zbarsky
4c43b31515
Bug 764703 - Build warning in nsXPCComponents.cpp r=bholley
2012-06-14 14:08:11 -07:00
Gregor Wagner
b137c96e1a
Bug 764928 - Support short in dictionaries. r=khuey
2012-06-14 11:28:02 -07:00
Terrence Cole
be0d3590e4
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
b8dd529aa2
Bug 764667 - Implement ContactChangeEvent in C++. r=smaug
2012-06-14 10:13:12 -07:00
Andrew McCreight
9731294da3
Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug
2012-06-14 08:52:54 -07:00
Till Schneidereit
b318642115
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
8a5e6af383
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
5b473a7767
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
3513bdbdc2
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
0ebe040eb0
Bug 763856 - Introduce JSAutoEnterCompartment::leave(). r=luke
2012-06-13 11:44:24 +02:00
Jason Orendorff
432ba576a2
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
51b1dd666a
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
d09087aa9d
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
d59c704e8d
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
fea3ed8039
Bug 763348 - Set private data on constructor instead of post method. r=jorendorff
2012-06-12 21:29:02 -04:00
Benjamin Peterson
28d8f6a6c2
Bug 763755 - Support the spread operator in Reflect.parse. r=dherman
2012-06-12 20:07:46 -04:00
Peter Van der Beken
794b8397b5
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
c13ddebfa6
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
96c97b078c
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
783c756bcb
Bug 731642 - Assertion failure: isDenseArray(), at ../jsobjinlines.h:504. r=Waldo
2012-06-12 17:04:33 -04:00
Dave Hylands
52b42dbe44
Bug 694594 - Fix code generation problem in debug builds for Vector.h. r=luke
2012-06-11 23:21:49 -07:00
Luke Wagner
28d1e3621d
Bug 763384 - Don't treat regexp syntax errors as OOM errors (r=njn)
2012-06-11 17:08:34 -07:00
Bill McCloskey
b25929fac9
Bug 753283 - Poison VM stack to help fuzzers (r=bhackett)
2012-06-12 12:24:31 -07:00
Joey Armstrong
f48beadab5
bug 757828: move export logic into target_export.mk - batch #1
2012-05-23 11:19:24 -04:00
Honza Bambas
f29e1ac591
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
8723eff2c2
Warning patrol. No bug, r=terrence
...
--HG--
extra : rebase_source : 9703c54a2dd87018af98c727c318036c4df846a2
2012-06-11 17:17:19 -07:00
Bobby Holley
051ea1ec66
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
fb72dcee1f
Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff
2012-06-12 15:44:14 +02:00
Benjamin Peterson
fecaa98148
Bug 763313: skip destructuring when emitting PNK_SEQ nodes r=jorendorff
2012-06-11 22:51:30 -07:00
Terrence Cole
7a890a09da
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
ddf93807de
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
4e950ce572
Back out 7166a68a7994 (bug 750307) for browser_bug645699.js bustage in a CLOSED TREE
2012-06-11 17:02:21 -07:00
Benjamin Peterson
4a91ec62aa
Bug 762285 - Add ForOfIterator, a C++ class for "for-of" iteration. r=benjamin.
2012-06-11 16:31:52 -05:00
Jason Orendorff
7a383385cd
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
6fca3e78b3
Bug 763580 - Fix Clang warning in SpreadContext copy constructor. r=bpeterson
2012-06-11 20:07:04 +02:00
Terrence Cole
3ee8295a91
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
346de6afda
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
5f21feb5c0
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
ed3f1040f5
Backout changeset a78601d88586 (bug 759115) because of B2G bustage
2012-06-11 08:23:29 +02:00
Mike Hommey
c50ce57fb4
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
1babff2f11
Bug 743396 - Don't unmark non-collected compartments during GC (r=mccr8)
2012-06-10 21:24:39 -07:00
Ryan VanderMeulen
6e456f6d86
Merge m-c to inbound
2012-06-10 21:34:50 -04:00
L. David Baron
91859c5a28
Backout bug 754202 (all patches, rather than just patches 3-7).
2012-06-10 17:22:31 -07:00
Ryan VanderMeulen
9409d47933
Backout 90107a2a0c64 (bug 754202) for real due to orange.
2012-06-10 19:46:20 -04:00
Ryan VanderMeulen
b74e4a29db
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Bill McCloskey
308dfbb850
Bug 742841 - Store Debugger.X objects in the cross-compartment map (r=jorendorff)
2012-06-10 16:00:09 -07:00
Bobby Holley
c82e89c9ae
Merge backout.
2012-06-11 00:28:30 +02:00
Bobby Holley
11cffb7c78
Back out bug 754202. r=me
2012-06-11 00:28:05 +02:00
Olli Pettay
94414ed431
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Gabor Krizsanits
be6dae7869
Bug 734891 - part 5: Adding optional XHR constructor to sandbox
2012-06-09 15:19:27 -07:00
Gabor Krizsanits
0fd528e2e2
Bug 734891 - part 4: Using ExpandedPrincipal
2012-06-09 15:19:27 -07:00
Gabor Krizsanits
27c71d8c25
Bug 734891 - part 3: Cleaning up sandbox creation
2012-06-09 15:19:27 -07:00
Benjamin Peterson
960da761d5
Bug 760304: support defaults and rest parameters in Reflect.parse, r=dherman
2012-06-09 15:15:12 -07:00
Bobby Holley
25b91123c7
Bug 754202 - Remove NoWaiverWrapper. r=mrbkap
...
No more principal pushing!
2012-06-07 14:28:22 +02:00
Bobby Holley
59dda709f9
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
ad6970ab93
Bug 574130: JavaScript spread array initializers, r=jorendorff.
2012-06-06 21:53:07 -05:00
Jason Orendorff
31a1022fa0
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
f8cde2b444
Bug 761495: add Number.isInteger and Number.toInteger, r=jorendorff
2012-06-06 21:50:21 -05:00
Benjamin Peterson
8d3bd25908
Bug 761480: add Number.isFinite. r=jorendorff.
2012-06-06 21:50:20 -05:00
Boris Zbarsky
31ccf86cf9
Bug 761707 part 2. Drop the vestigial jsclass argument to UnwrapDOMObject. r=bholley
2012-06-06 15:59:46 -04:00
Jonathan Watt
8419009c50
Bug 761218 - Get rid of the bogus $(DIST)/include/nsprpub include path. r=bsmedberg
2012-06-09 14:22:41 -04:00
Ryan VanderMeulen
caebb33c05
Merge m-c to inbound
2012-06-09 14:22:32 -04:00
Luke Wagner
cae964f9a0
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
542c63d665
Bug 705423 - ensureTypes in ArgSetter (r=billm)
...
--HG--
extra : rebase_source : f3c1553625a9a1a41c00cabddb2c3a6f4d267aa8
2012-06-08 13:46:56 -07:00
Luke Wagner
2e8c362b0f
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
a8dcd11ec2
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
199001d030
Bug 757339 - Make expandlibs commands generate dependencies like gcc does. r=ted
2012-06-08 08:59:02 +02:00
Nicholas Nethercote
63dd07cb12
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
6a3c88b70f
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
0c0956e160
Bug 761914 (part 2) - Simplify UpvarCookie. r=jorendorff.
...
--HG--
extra : rebase_source : c2360211652c91e3aff9ff63074675ba52c6b0e3
2012-06-07 18:42:21 -07:00
Nicholas Nethercote
b8166da12d
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
2122a154f9
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
e6258a30e4
Bug 738244: Fix proxy behavior when assigning to inherited properties.
2012-06-07 18:31:31 -07:00
Terrence Cole
8c3ac14da3
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
206e562ba8
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
cecd1ed81a
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
9118053b0e
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
22c1ed282d
Merge mozilla-central to mozilla-inbound
2012-06-07 15:56:37 +01:00
Luke Wagner
fd5e3403c6
Bug 762105 - Fix increment on formal parameters aliased by the arguments object (r=dvander)
2012-06-07 02:42:56 -07:00
Ed Morley
13b33a03ed
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-07 10:32:36 +01:00
Luke Wagner
50628a216f
Bug 761863 - Don't forget about jsop_aliasedArg (r=dvander)
2012-06-06 22:16:20 -07:00
Luke Wagner
fb2aed19c9
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
1a48a7fee0
Bug 759459 - Build broken on FreeBSD since patch for bug 745034 landed. r=terrence
2012-06-09 12:24:56 -04:00
Doug Turner
8934eee23b
Backed out changeset 401edab3831f - Bug 758273.
...
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Luke Wagner
fd3289c37e
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
24e6e84abb
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
56a8e9f66c
Bug 762071 - JS is being compiled with exceptions enabled. r=khuey.
2012-06-08 13:31:28 -04:00
Laurent Dulary
7b00eb233d
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
552f02f3f1
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
Geoff Lankow
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Shu-yu Guo
8bd539e7ad
Support chained assignments in definite property analysis, bug 759978. r=bhackett
2012-06-05 00:36:25 -07:00
Nicholas Nethercote
b5dc2f7370
Bug 761504 - Remove FunctionBoxQueue. r=luke.
...
--HG--
extra : rebase_source : a29c928103bac3a22897ace27b7b47a1350adf4d
2012-06-04 23:08:10 -07:00
Brian Hackett
642aa6c631
Watch for script JIT handle invalidation after MakeJITScript, bug 759719. r=dvander
2012-06-04 19:51:57 -07:00
Phil Ringnalda
bdf4307bb3
Merge mozilla-central to mozilla-inbound
2012-06-04 19:09:19 -07:00
Lukas Blakk
08aec736d3
Merging in version bump NO BUG
2012-06-04 12:36:59 -07:00
Nicholas Nethercote
4e209ff2a1
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
fd086e43bf
Bug 591467 - Implement HTML5 Microdata API r=bz
2012-06-04 16:49:57 -07:00
Jeff Walden
2537215c50
Bug 761462 - Implement JS_CallNonGenericMethodOnProxy. r=luke
...
--HG--
extra : rebase_source : 84a9e118f00d5008cd84d12c4403d73bdf41993f
2012-06-01 23:39:09 -07:00
Luke Wagner
ce76c02c08
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
3f56172b9d
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
f4dddec77e
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
103f817cc4
Bug 760413 - Update in-tree V8 benchmark to v7. r=dvander
2012-06-01 13:54:54 +02:00
Bobby Holley
6bb6bf930d
Bug 751995 - Handle orphaned wrappers. r=peterv
2012-06-04 10:13:18 +02:00
Nicholas Nethercote
e9b14af759
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
4cde2c6b53
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
a4d19f28d9
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
069e76fa45
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
5082a2ad9e
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2012-06-03 12:04:40 -07:00
Jan Varga
f5f6531fb7
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Terrence Cole
3b9ff67eee
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
07f64cb8a8
Back out 19cfb43d77d3 (bug 751995) for Windows build bustage
2012-06-01 18:27:22 -07:00
Matt Brubeck
1f99b61afd
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
b266d6fe3f
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
22900b906f
Bug 751995 - Handle orphaned wrappers. r=peterv
2012-06-02 00:24:22 +02:00
Joey Armstrong
5033234ac5
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
b121daece9
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
2566616a7a
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
679f85cc9d
Bug 744053 - Check JITSCriptHandle is valid before attempting to destroy the script, r=bhackett
2012-06-01 10:14:13 -07:00
Boris Zbarsky
1ead997ef4
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
7bf61e67b6
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
ce5fe08ad6
Bug 703537 - Followup: fix conflicts.
2012-06-01 13:19:06 +02:00
Eddy Bruel
b6a988f282
Bug 703537 - Rename Wrapper to DirectWrapper; r=bholley
2012-06-01 12:51:20 +02:00
Brian Hackett
bf55c18f16
Watch for GC under getType, bug 746103. r=dvander
2012-06-02 20:25:05 -07:00
Benjamin Peterson
e743190ddf
Bug 749818: add Number.isNaN, r=jwalden
...
--HG--
extra : rebase_source : f3faa700eb75c6106b0ebb421d53080e293b714a
2012-06-02 20:16:24 +02:00
Benjamin Peterson
dd08b0a4b3
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
9ee27fde3f
Bug 757676: implement default parameters in JaegerMonkey, r=bhackett
...
--HG--
extra : rebase_source : f5220941d9502d49b0c230081c265f845396a251
2012-06-02 20:16:24 +02:00
Tom Schuster
6fdcc6686a
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
bc1fb8da14
Bug 761439 - Make IndirectProxyHandler::nativeCall indirect (r=sfink)
...
--HG--
extra : rebase_source : 453c3b3711c71a75243d65e4646cfd8e02a60131
2012-06-04 16:34:45 -07:00
Blake Kaplan
80d8c99cbf
Bug 751858 - Actually throw when we deny access. r=bholley
2012-05-04 14:22:55 +02:00
Steve Fink
e286e990a2
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
e4d0c6ae47
Bug 761249 - abort if ClassInfo2WrappedNativeProtoMap or Native2WrappedNativeMap fail. r=bholley
2012-06-05 11:47:49 -07:00
Bobby Holley
af6f37d415
Bug 758415 - Tests. r=mrbkap
2012-06-05 19:07:38 +02:00
Bobby Holley
1e7b838781
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
dbc58bd195
Bug 758415 - Rip out old expando architecture. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
ae7fc124b9
Bug 758415 - Switch WN Xrays to use the new expando infrastructure. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
e351699344
Bug 758415 - Expose AutoIdVector wrapping. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
59c1c5f462
Bug 758415 - Copy expando objects during object transplanting. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
f3bf0cee49
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
e1c14c5c29
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
a9a08ec0ab
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
548c09e076
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
cf146a69d3
Warning patrol. No bug, r=themaid
2012-06-04 18:25:53 -07:00
Jeff Walden
2c22417a11
Bug 757551 - Remove JS_ConstructObject{,WithArguments}. r=dmandelin
2012-05-21 16:32:18 -07:00
Jeff Walden
3ab2a5ec5e
Bug 758499 - Remove JSRESOLVE_WITH. r=dmandelin
2012-05-24 23:54:05 -07:00
Phil Ringnalda
848811b688
Back out ee940e4debd0:7636c7036e2e (bug 659577) for asserting in testBug550743.js
2012-06-01 00:12:22 -07:00
Jeff Walden
2997d7619b
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
aa64c23db1
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
ff6c3555a2
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
8f448975e1
Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
...
--HG--
extra : rebase_source : e8496f21b3e025b5cee07f627e39535add9904f0
2012-04-11 18:09:20 -07:00
Luke Wagner
9ed98dedbf
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
862b55e3eb
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
b595435dc9
Bug 659577 - Don't alias stack variables (r=bhackett)
...
--HG--
extra : rebase_source : 0a7b6cae49e6de547de013c834d0ad258ecc3702
2012-02-23 13:59:10 -08:00
Luke Wagner
e395abbd15
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
731780b34b
Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
...
--HG--
extra : rebase_source : 3698a6411ffcae90bbcfaa7a965d8de648b3e509
2012-04-11 18:09:20 -07:00
Luke Wagner
a53f1cb215
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
b67e550da3
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
e3cf9cdc72
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
6419266cab
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
9113be1e37
Bug 759976: remove JSDEBUGGER* sections, r=jorendorff
...
--HG--
extra : rebase_source : 28218e232c0ad77f649ce7d56a430b8f2e20777c
2012-05-31 16:14:13 -05:00