Phil Ringnalda
f84420b21d
Back out e3ec1bc37d8c (bug 762561) for debug make check orange
2012-06-26 19:53:59 -07:00
Gary Kwong
bdc1b3bfeb
Backout 431fa10c63a6 for orange. Thanks philor for pointing it out, r=orange
2012-06-26 18:19:55 -07:00
Bill McCloskey
c30b5f4919
Bug 757199 - Assertion failure: [barrier verifier] Unmarked edge: shape, r=bhackett
...
--HG--
extra : rebase_source : 3d62cae7c9523c0e03cd2fe0ea670c0f0646d6b3
2012-06-26 17:49:01 -07:00
Brian Hackett
0792846795
Specialize big typed arrays with singleton types, bug 762561. r=dvander
2012-06-26 17:47:20 -07:00
Bobby Holley
2e8cc5e608
Bug 758344 - Make ContextHolder implement nsIScriptContextPrincipal. r=mrbkap
2012-06-26 22:54:18 +02:00
Terrence Cole
e93f8758c2
Bug 768626 - Add rooting analysis for PropertyId; r=Waldo
...
--HG--
extra : rebase_source : 42ba66650effc95e7c764026e2e9c32a16b21838
2012-06-26 13:42:39 -07:00
Bill McCloskey
6e71ec3664
Bug 767643 - Don't assert(false) when finding black/gray edges (r=mccr8)
2012-06-26 13:38:47 -07:00
Bill McCloskey
db6b5999cb
Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8)
2012-06-26 13:11:39 -07:00
Benjamin Peterson
a87eb2a967
Bug 762324: write to the current address of the bytecode, r=jorendorff
2012-06-26 13:09:41 -07:00
Nicholas Nethercote
7b8dafc300
Bug 711130 (part 6) - Improve the measurement of decommitted GC memory. r=terrence.
...
--HG--
extra : rebase_source : ad344b58798cb6837a59f3d48f57880b036c300e
2012-06-25 17:09:00 -07:00
Nicholas Nethercote
e23d7588a7
Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
...
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Nicholas Nethercote
74bfce8279
Bug 711130 (part 4) - Treeify the non-compartment gc-heap-XYZ measurements. r=terrence.
...
--HG--
extra : rebase_source : ba3ff507e05829ad574e7283c7f3ab48b2416ac1
2012-06-25 17:06:50 -07:00
Nicholas Nethercote
7b9d75e21b
Bug 711130 (part 3) - Use consistent names for reports of unused JS memory. r=terrence.
...
--HG--
extra : rebase_source : a8e5a7d77355539f84a7fbb4d312fa66d2fe5ba6
2012-06-25 17:06:50 -07:00
Nicholas Nethercote
e92c86db37
Bug 711130 (part 2) - Merge "arena/unused" and "arena/padding" into "arena-admin". r=terrence.
...
--HG--
extra : rebase_source : 1c9d318e86eb27c2e40f2ef95554afefb8a6c653
2012-06-25 17:06:50 -07:00
Boris Zbarsky
ea5efabae6
Bug 766796. Make IDL conversions to 64-bit ints treat NaN and Infinity as 0 instead of whatever the compiler decides to do in that undefined-behavior case. r=peterv
2012-06-25 23:37:47 -04:00
Eric Faust
eb128c6f7c
Bug 764148 - Stop incorrectly shadowing TI properties on sets if a setter would
...
be called. r=bhackett
2012-06-25 17:32:34 -07:00
Gary Kwong
34e8707ffb
Add tests for bug 632778, take two. r=jorendorff
2012-06-22 19:00:15 -07:00
Luke Wagner
20310bbc6d
Bug 765907 - Don't save frame variables of dead generators in the debugger (r=billm)
2012-06-20 08:57:29 -07:00
Luke Wagner
46c5dc77a3
Bug 767744 - rm UndominateInitializers (it's unnecessary) (r=jorendorff)
2012-06-25 14:02:08 -07:00
Luke Wagner
e87f42d626
Bug 768071 - rm TypeSet::hasGlobalObject (dead code) (r=bhackett)
2012-06-20 08:57:29 -07:00
Gary Kwong
5ac7a54463
Backout df2e726ece1f because apparently the tests still seem to be failing.
2012-06-25 14:10:02 -07:00
Gary Kwong
95a1a97893
Add tests for bug 632778, r=jorendorff
2012-06-25 13:38:36 -07:00
Benjamin Peterson
9403ce7ce0
Bug 767660: after mutating a list, update its tail, r=jorendorff
2012-06-25 13:31:51 -07:00
Jason Orendorff
b1ee18e46a
Bug 765302 - Add noScriptRval option to JS shell evaluate() function. r=luke.
2012-06-25 14:47:33 -05:00
Bobby Holley
0787c19a01
Bug 767948 - Make assertion nonfatal. r=me
2012-06-25 15:24:21 +02:00
Nicholas Nethercote
4c43234dda
Bug 754739 - Clean up front-end error reporting. r=jwalden.
2012-06-24 22:50:21 -07:00
Nicholas Nethercote
8bf2a2a6fe
Bug 634800 - Clean up reportCompileErrorNumberVA(). r=jwalden.
2012-06-13 23:23:01 -07:00
Luke Wagner
3b3df1b13b
Bug 756864 - Decrease MAX_FRAMES in XPCJSStackFrame::CreateStack (r=bhackett)
2012-06-23 20:47:10 -07:00
Luke Wagner
29fe63a825
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
2e47cc156c
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
c5cf6d7f55
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
6b57d44ad0
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
ae55534f4c
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
2bce962d3c
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
6cf9c0d8d6
Bug 755186 - add JSCompartment::global (r=jorendorff)
...
--HG--
extra : rebase_source : 0a54699e01350611f1de69845cfe05b1506c40cb
2012-06-20 08:57:29 -07:00
Luke Wagner
026cc7a4de
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Luke Wagner
162ced62d8
Bug 755186 - rm JS_NewGlobalObject (r=jorendorff)
...
--HG--
extra : rebase_source : d9ba442572836406e165cdff11a646e6fd498c03
2012-06-20 08:57:29 -07:00
Luke Wagner
dc81fd0654
Bug 766064 - Remove overly-conservative assertion (r=jorendorff)
...
--HG--
extra : rebase_source : 3228f7ce771c7dda14571a16e998b4efd9b9bbd9
2012-06-20 08:57:29 -07:00
Terrence Cole
f3b1b7bb04
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
b37643829c
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
c52e42d252
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
1950108878
Bug 719750 - Remove extraneous print statement.
...
--HG--
extra : rebase_source : f0437db62e2184778bd4ef94f6284fddc8e27c02
2012-06-22 12:25:29 -07:00
Steve Fink
d3db01ee7f
Backed out changeset c33a30aedb3b (bug 764184)
2012-06-22 12:22:00 -07:00
Bill McCloskey
ec8c0be874
Bug 715761 - Fix build error
2012-06-22 12:12:49 -07:00
Gary Kwong
d62a5ca3b5
Add a test for bug 719750.
2012-06-22 12:02:02 -07:00
Bill McCloskey
69e16d12b5
Bug 715761 - Rename XPCWrappedNativeScope::TraceJS (r=bholley)
2012-06-22 11:37:22 -07:00
Bill McCloskey
7f0805e697
Bug 715761 - De-insanify xpconnect wrapper tracing (r=bholley)
2012-06-22 11:34:51 -07:00
Bill McCloskey
9e30c10eff
Bug 764850 - Don't run write barrier verifier during shutdown (r=terrence)
2012-06-22 11:31:00 -07:00
Bill McCloskey
d2a0c8487f
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
94c06390b1
Bug 766355 - Fix GC valgrind warnings (r=terrence)
2012-06-22 11:30:48 -07:00
Bill McCloskey
c06238e1ac
Bug 766707 - Free dynamic slots if we OOM during object allocation (r=dvander)
2012-06-22 11:28:49 -07:00
Bill McCloskey
dc993cd3c5
Bug 767234 - Don't invoke write barrier on generator slots (r=luke)
2012-06-22 11:24:20 -07:00
Steve Fink
6472701c23
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
4f54c3b9c9
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
d107f621a7
Bug 766975 - Rename OBJS-related dependency files. r=khuey
2012-06-22 18:29:03 +02:00
Jon Coppeard
9488581cf7
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
07970c9678
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
4c48796cc9
Bug 767306 - Temporarily make assertion from bug 766641 non-fatal. r=me
2012-06-22 12:01:18 +02:00
Jeff Walden
6aafc71fa7
Bug 758913 - Remove JSCLASS_NEW_RESOLVE_GETS_START. r=dmandelin
2012-06-05 17:39:30 -07:00
Cameron McCormack
cab153d201
Bug 448573 - Match French localisations of MSVC version banners. r=ted,dmandelin
2012-06-22 11:55:04 +10:00
Gregor Wagner
ab33198b92
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
bf38e76273
Bug 765055: bind rest argument when defaults are present, r=jorendorff
2012-06-21 16:53:46 -07:00
Nicholas Nethercote
183a951104
Bug 764714 (part 3) - Remove BytecodeEmitter::GlobalScope. r=jorendorff.
2012-06-13 23:29:04 -07:00
Nicholas Nethercote
178e83630b
Bug 764714 (part 2) - Move Parser::callerFrame to BytecodeEmitter. r=jorendorff.
2012-06-13 23:28:04 -07:00
Nicholas Nethercote
4693ff0743
Bug 764714 (part 1) - Only set JSScript::savedCallerFun when appropriate. r=jorendorff.
2012-06-13 17:26:31 -07:00
Nicholas Nethercote
6470dd90e4
Bug 766821 - Clear dead wood from Bindings. r=luke.
...
--HG--
extra : rebase_source : 88a769b7cc17ba4c850208e5c59916c1f7b2bde8
2012-06-20 19:14:35 -07:00
Jeff Walden
e0d399cf0d
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
e913e5e5a9
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
cf4f50127c
Bug 755255 - Remove XPCPerThreadData. r=mrbkap
...
\o/
2012-06-21 16:14:49 +02:00
Bobby Holley
4feccd003a
Bug 755255 - Remove thread iteration in XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
f46ec96c98
Bug 755255 - Remove mThreadData from XPCCallContext. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
427362569f
Bug 755255 - Remove threadsafety checking machinery. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
aeabb5c134
Bug 755255 - Hoist Resolving* machinery into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
eadc26b302
Bug 755255 - Remove Usage of XPCPerThreadData::IsMainThread. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
b261a2efe1
Bug 755255 - Hoist auto root list into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
547f3015cc
Bug 755255 - Hoist pending exception junk into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
e37a97db5d
Bug 755255 - Make consumers of mCallContext go through XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
39dda82b5d
Bug 755255 - Hoist mCallContext into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
7735cb5893
Bug 755255 - Make consumers of GetJSContextStack go through XPCJSRuntime. r=mrbkap
2012-06-21 16:14:48 +02:00
Bobby Holley
2bae52f078
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
fa6589dd25
Bug 755255 - Hoist mJSContextStack into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:48 +02:00
Bobby Holley
1a8990fd62
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
ab29e418d9
Fixup for pymake after bug 763987. r=ted
2012-06-21 14:50:42 +02:00
Randell Jesup
0edea6e242
Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium
2012-06-20 07:27:43 -04:00
Ed Morley
5a59a93dac
Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage
2012-06-21 10:00:36 +01:00
Jeff Walden
5593b79924
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
9e215b1aaa
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
df25d98bb1
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
4e5eecb03d
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Jim Blandy
d0d165b565
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
390ca6d589
Bug 764508 - Remove header if it is no longer needed, r=jorendorff
2012-06-20 16:33:19 -07:00
Jeff Walden
61187f190b
Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ
2012-06-20 15:49:56 -07:00
Jeff Walden
cf206a8907
Fix a NULL-to-bool conversion warning. No bug, trivial, r=themaid
2012-06-20 15:30:14 -07:00
Jeff Walden
f0f8f1fd8b
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
c5138de0ee
bug 765808 - fix bare 'dn' typo. r=glandium
2012-06-20 13:59:23 -07:00
Benjamin Peterson
5b14782c63
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
56c6fc8bd9
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
905f89caaa
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
53d09f54fe
Merge mozilla-central to mozilla-inbound
2012-06-20 11:03:50 +01:00
Mike Hommey
a93eb5a48f
Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage
2012-06-20 10:55:59 +02:00
Mike Hommey
894a244c4f
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-06-20 10:53:31 +02:00
Mike Hommey
8ff35bd942
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
f93aa44bea
Bug 766004 - Remove LookupCompileTimeConstant(). r=bhackett.
...
--HG--
extra : rebase_source : 27e505a79158eb87fd38adf700bc21a666415733
2012-06-19 18:05:43 -07:00
Nicholas Nethercote
fe03dba4b9
Bug 765976 - Simplify CompileFunctionBody's control flow. r=sfink.
...
--HG--
extra : rebase_source : 4d5e88fdae064f5a68c0938ee5cbc6e619d02c85
2012-06-18 16:54:55 -07:00
Fabrice Desré
d660f450c5
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
5664ae8e7a
Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap
2012-06-19 19:01:10 -04:00
Andrew McCreight
dccb80b3fd
Bug 763776 - refactor nsXPConnect::Traverse. r=billm
2012-06-19 11:33:00 -07:00
Andreas Gal
e6dca1410b
Bug 637014 - use the right global in MakeFinalizeObserver (r=luke)
2012-06-19 11:13:42 -07:00
Benjamin Smedberg
a937af094c
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
d0e97f794d
Backout changeset efc2f07a829b (bug 734125) because of bustage
2012-06-20 09:23:41 +02:00
Mike Hommey
3a615a6dfd
Re-sync config/config.mk after bug 763987. r=me
2012-06-20 09:14:05 +02:00
Mike Hommey
d6738107b0
Bug 764286 - Remove unused AC_SUBSTs. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
cd69374e33
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
de370a6c93
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
1b6feacfd5
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
8d29eda287
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
94297f56ca
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
36b87e978e
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
70a578b8d5
Bug 720396 - Fix Debugger.addDebuggee with Debuger.prototype. r=jorendorff
2012-06-19 17:24:57 +02:00
Mike Hommey
b95d1d1421
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
c35972a603
Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz.
2012-06-04 21:41:51 +02:00
Terrence Cole
cd8aba1d4d
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
2028b566b4
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
1de2ac1271
Bug 754725 - Fix type tags during VM stack scanning (r=bhackett)
2012-06-18 17:04:56 -07:00
Bill McCloskey
6bafd61c4b
Bug 757431 - Fix stack scanning in Splat (r=bhackett)
2012-06-18 17:04:52 -07:00
Bill McCloskey
0f5af3bd1c
Bug 758846 - Disable cross-compartment wrapper checking during creation (r=luke)
2012-06-18 17:04:48 -07:00
Bill McCloskey
c599ed931c
Bug 762982 - Fix verifybarriers() shell call (r=luke)
2012-06-18 17:04:43 -07:00
Jeff Walden
3b720a666b
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Joey Armstrong
3fbb9e7d90
bug 757855: move xpidl* logic into a named makefile - batch #1
2012-06-01 11:13:07 -04:00
Nils Maier
1b828b648b
Bug 759783: Add identifying origin information to Javascript sandboxes. r=jlebar
2012-06-18 13:09:17 -04:00
Luke Wagner
47597e30f9
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
99acef76b3
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
6226804d94
Bug 763433 - Clarify compartment semantics for ExposedPropertiesOnly. r=mrbkap
2012-06-18 15:47:09 +02:00
Jan de Mooij
c2b90aa8bb
Bug 765733 - Don't emit singleton array initializers for empty arrays. r=bhackett
2012-06-18 16:54:22 +02:00
Bobby Holley
0c8f394bc0
Bug 763381 - Fix up compartment situation for expando objects. r=mrbkap
2012-06-18 15:28:11 +02:00
Bobby Holley
67c64dc0eb
Bug 763381 - Pass cx around in more places. r=mrbkap
2012-06-18 15:28:11 +02:00
Bobby Holley
cde276d091
Bug 764289 - Null-check desc->obj after calling Proxy::getPropertyDescriptor. r=jorendorff
2012-06-18 15:19:39 +02:00
Luke Wagner
36dd2aac95
Bug 764249 - Fix the non-reentrant-closure fix in bug 762473 (r=dvander)
2012-06-17 23:44:27 -07:00
Luke Wagner
f60a3eb84e
Backout 925c31734424 (wrong bug, wrong patch)
2012-06-17 23:40:47 -07:00
Ms2ger
c1e5ff949e
Bug 762436 - Get rid of the nsresult return value for nsIXPCScriptable::GetScriptableFlags(); r=mrbkap
2012-06-17 10:11:16 +02:00
Gregor Wagner
22fa9d9f64
Bug 764682 - Implement wifi events in c++. r=smaug
2012-06-16 11:14:12 -07:00
Benjamin Peterson
ce8ebecccb
Bug 763954: give the rest argument integer properties, r=bhackett
2012-06-16 17:27:13 +12:00
Terrence Cole
2df8e18796
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
ed0d831772
Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob
2012-06-15 16:25:51 -04:00
Terrence Cole
9022675537
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
32c90ebc36
Bug 749385 - use deferred release in nsHTMLDocumentSH::ReleaseDocument. r=peterv
2012-05-18 15:00:19 -07:00
Luke Wagner
51db5f5ef1
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
cc362780fd
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
e76a671d8e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Bobby Holley
3f91fbc21e
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
759d411034
Bug 764389 - Add an API to change the principals of a compartment. r=luke
2012-06-15 08:30:09 +02:00
Nicholas Nethercote
80725c5db7
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
3f23749ab5
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
21c789f3fb
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
95442061d4
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
bda3a28b5d
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
4ff8223c12
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
e57b63de5b
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
cb4a1e7394
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
809cbd1532
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
83fd8c375f
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
c3500f6cd2
Backed out changeset 35c79f50d85f
...
--HG--
extra : rebase_source : a84a5c5554e087f71771c2e3c180405dfdc750c3
2012-06-14 17:06:01 -07:00
Terrence Cole
b6bd29f09a
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é
b0c52f22b3
Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug]
2012-06-14 16:03:55 -07:00
David Zbarsky
f326821900
Bug 764703 - Build warning in nsXPCComponents.cpp r=bholley
2012-06-14 14:08:11 -07:00
Gregor Wagner
c116e7b911
Bug 764928 - Support short in dictionaries. r=khuey
2012-06-14 11:28:02 -07:00
Terrence Cole
46ef1ff250
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
c8b4ad4b1b
Bug 764667 - Implement ContactChangeEvent in C++. r=smaug
2012-06-14 10:13:12 -07:00
Andrew McCreight
0507cf0146
Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug
2012-06-14 08:52:54 -07:00
Till Schneidereit
13d215507a
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
5436c2e9b5
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
ab9abb3572
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
f637ed8db4
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
3302197cc3
Bug 763856 - Introduce JSAutoEnterCompartment::leave(). r=luke
2012-06-13 11:44:24 +02:00
Jason Orendorff
0fe915a252
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
4fd9fd2bdf
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
a9106b5cbe
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
e1aadf4338
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
1f35ca5430
Bug 763348 - Set private data on constructor instead of post method. r=jorendorff
2012-06-12 21:29:02 -04:00
Benjamin Peterson
d9b043c61f
Bug 763755 - Support the spread operator in Reflect.parse. r=dherman
2012-06-12 20:07:46 -04:00
Peter Van der Beken
22b549d261
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
b36720b35a
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
68f174e40a
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
7a3bfe572d
Bug 731642 - Assertion failure: isDenseArray(), at ../jsobjinlines.h:504. r=Waldo
2012-06-12 17:04:33 -04:00
Dave Hylands
3587a66739
Bug 694594 - Fix code generation problem in debug builds for Vector.h. r=luke
2012-06-11 23:21:49 -07:00
Luke Wagner
64efce2a4b
Bug 763384 - Don't treat regexp syntax errors as OOM errors (r=njn)
2012-06-11 17:08:34 -07:00
Bill McCloskey
5c37cfaae2
Bug 753283 - Poison VM stack to help fuzzers (r=bhackett)
2012-06-12 12:24:31 -07:00
Joey Armstrong
dad993a68c
bug 757828: move export logic into target_export.mk - batch #1
2012-05-23 11:19:24 -04:00
Honza Bambas
fc7084f564
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
4a345fc84c
Warning patrol. No bug, r=terrence
...
--HG--
extra : rebase_source : 9703c54a2dd87018af98c727c318036c4df846a2
2012-06-11 17:17:19 -07:00
Bobby Holley
816c189651
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
89b078af98
Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff
2012-06-12 15:44:14 +02:00
Benjamin Peterson
a4982f4748
Bug 763313: skip destructuring when emitting PNK_SEQ nodes r=jorendorff
2012-06-11 22:51:30 -07:00
Terrence Cole
15a3f20f21
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
1441492d49
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
1c309fc0d1
Back out 7166a68a7994 (bug 750307) for browser_bug645699.js bustage in a CLOSED TREE
2012-06-11 17:02:21 -07:00
Benjamin Peterson
94a786daf0
Bug 762285 - Add ForOfIterator, a C++ class for "for-of" iteration. r=benjamin.
2012-06-11 16:31:52 -05:00
Jason Orendorff
04046ec57e
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
28cfbcdb82
Bug 763580 - Fix Clang warning in SpreadContext copy constructor. r=bpeterson
2012-06-11 20:07:04 +02:00
Terrence Cole
a0b05d6208
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