Commit Graph

19470 Commits

Author SHA1 Message Date
Steve Fink
c7b1c80c0f Bug 730873 - Implement ArrayBufferView.prototype.move (r=Waldo)
--HG--
extra : rebase_source : 14b1a8acb380db011fec0d7948f5325f55d4b77d
2012-02-27 13:18:30 -08:00
Bill McCloskey
f8f1a070d4 Bug 757199 - Don't use an addprop IC during incremental GC (r=bhackett) 2012-06-27 13:46:57 -07:00
Bill McCloskey
379166ad47 Bug 715761 - Followup fix for xpconnect tracing (r=bholley) 2012-06-27 13:45:52 -07:00
Phil Ringnalda
8933eff28c Back out 6a386d638a1a (bug 746277) for packaged build bustage 2012-06-27 08:31:38 -07:00
Andrew McCreight
8efd6b7656 Bug 754495, part 4 - Define CompartmentParticipant. r=smaug,billm 2012-06-27 08:09:50 -07:00
Andrew McCreight
face11cd5b Bug 754495, part 3 - Add shim for NoteJSChild to allow it to be reused. r=smaug 2012-06-27 08:09:45 -07:00
Andrew McCreight
99d1edd8e8 Bug 754495, part 2 - Add flag to control JS traversal behavior. r=smaug 2012-06-27 08:09:35 -07:00
Andrew McCreight
99a016b316 Bug 754495, part 1: add JS hooks for compartment CC scanning. r=billm 2012-06-27 08:09:24 -07:00
Joey Armstrong
4d213decb0 bug 746277: replace hg shell pipelines with make logic 2012-05-16 15:09:00 -04:00
Brian Hackett
db4e554a69 Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-27 07:10:50 -07:00
Peter Van der Beken
c523f2d06a Fix for bug 768669 (Move remaining DOM list proxy bindings from behind the pref). r=bz.
--HG--
extra : rebase_source : 738cd6df3aa353b682f931beaabde74de8c1a2bd
2012-06-22 12:34:26 +02:00
Phil Ringnalda
dcd5e0401d Back out e3ec1bc37d8c (bug 762561) for debug make check orange 2012-06-26 19:53:59 -07:00
Gary Kwong
47c3b97093 Backout 431fa10c63a6 for orange. Thanks philor for pointing it out, r=orange 2012-06-26 18:19:55 -07:00
Bill McCloskey
d70d0f4225 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
3a5a434a81 Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-26 17:47:20 -07:00
Bobby Holley
36b5831551 Bug 758344 - Make ContextHolder implement nsIScriptContextPrincipal. r=mrbkap 2012-06-26 22:54:18 +02:00
Terrence Cole
8784cfa2dc Bug 768626 - Add rooting analysis for PropertyId; r=Waldo
--HG--
extra : rebase_source : 42ba66650effc95e7c764026e2e9c32a16b21838
2012-06-26 13:42:39 -07:00
Bill McCloskey
c69ecca54b Bug 767643 - Don't assert(false) when finding black/gray edges (r=mccr8) 2012-06-26 13:38:47 -07:00
Bill McCloskey
208d5cc3d0 Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8) 2012-06-26 13:11:39 -07:00
Benjamin Peterson
b04ea2263a Bug 762324: write to the current address of the bytecode, r=jorendorff 2012-06-26 13:09:41 -07:00
Nicholas Nethercote
ddf6acd6f8 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
26f000b52d 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
647a888256 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
98d63ba4c6 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
1c63ece812 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
ae835cd014 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
962c0913dd 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
91b18c2a91 Add tests for bug 632778, take two. r=jorendorff 2012-06-22 19:00:15 -07:00
Luke Wagner
7487e8f954 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
abd279a726 Bug 767744 - rm UndominateInitializers (it's unnecessary) (r=jorendorff) 2012-06-25 14:02:08 -07:00
Luke Wagner
81c601f42c Bug 768071 - rm TypeSet::hasGlobalObject (dead code) (r=bhackett) 2012-06-20 08:57:29 -07:00
Gary Kwong
cd90a87e64 Backout df2e726ece1f because apparently the tests still seem to be failing. 2012-06-25 14:10:02 -07:00
Gary Kwong
ae0e932f45 Add tests for bug 632778, r=jorendorff 2012-06-25 13:38:36 -07:00
Benjamin Peterson
6558570008 Bug 767660: after mutating a list, update its tail, r=jorendorff 2012-06-25 13:31:51 -07:00
Jason Orendorff
1fa7fba050 Bug 765302 - Add noScriptRval option to JS shell evaluate() function. r=luke. 2012-06-25 14:47:33 -05:00
Bobby Holley
c9e79a454a Bug 767948 - Make assertion nonfatal. r=me 2012-06-25 15:24:21 +02:00
Nicholas Nethercote
e5ae3010bb Bug 754739 - Clean up front-end error reporting. r=jwalden. 2012-06-24 22:50:21 -07:00
Nicholas Nethercote
6d406552cc Bug 634800 - Clean up reportCompileErrorNumberVA(). r=jwalden. 2012-06-13 23:23:01 -07:00
Luke Wagner
e3517739e9 Bug 756864 - Decrease MAX_FRAMES in XPCJSStackFrame::CreateStack (r=bhackett) 2012-06-23 20:47:10 -07:00
Luke Wagner
9c66f5afd5 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
f226be28af 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
30af15d962 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
6d94d9d50c 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
9e195b787d 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
1f0acff5ed 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
9352f97dd5 Bug 755186 - add JSCompartment::global (r=jorendorff)
--HG--
extra : rebase_source : 0a54699e01350611f1de69845cfe05b1506c40cb
2012-06-20 08:57:29 -07:00
Luke Wagner
fee7952e0d Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Luke Wagner
1b7d197c85 Bug 755186 - rm JS_NewGlobalObject (r=jorendorff)
--HG--
extra : rebase_source : d9ba442572836406e165cdff11a646e6fd498c03
2012-06-20 08:57:29 -07:00
Luke Wagner
b4132543ae Bug 766064 - Remove overly-conservative assertion (r=jorendorff)
--HG--
extra : rebase_source : 3228f7ce771c7dda14571a16e998b4efd9b9bbd9
2012-06-20 08:57:29 -07:00
Terrence Cole
b7ad9a5fd2 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
f18d090dd1 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
3b6b189846 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
bfde7a2586 Bug 719750 - Remove extraneous print statement.
--HG--
extra : rebase_source : f0437db62e2184778bd4ef94f6284fddc8e27c02
2012-06-22 12:25:29 -07:00
Steve Fink
13b3ad567f Backed out changeset c33a30aedb3b (bug 764184) 2012-06-22 12:22:00 -07:00
Bill McCloskey
4fa5794dad Bug 715761 - Fix build error 2012-06-22 12:12:49 -07:00
Gary Kwong
30fca2f26c Add a test for bug 719750. 2012-06-22 12:02:02 -07:00
Bill McCloskey
e352a152a3 Bug 715761 - Rename XPCWrappedNativeScope::TraceJS (r=bholley) 2012-06-22 11:37:22 -07:00
Bill McCloskey
ba55e063e1 Bug 715761 - De-insanify xpconnect wrapper tracing (r=bholley) 2012-06-22 11:34:51 -07:00
Bill McCloskey
974aaa5c58 Bug 764850 - Don't run write barrier verifier during shutdown (r=terrence) 2012-06-22 11:31:00 -07:00
Bill McCloskey
73c46100a8 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
b19e04c822 Bug 766355 - Fix GC valgrind warnings (r=terrence) 2012-06-22 11:30:48 -07:00
Bill McCloskey
189a764ba9 Bug 766707 - Free dynamic slots if we OOM during object allocation (r=dvander) 2012-06-22 11:28:49 -07:00
Bill McCloskey
7d061f8687 Bug 767234 - Don't invoke write barrier on generator slots (r=luke) 2012-06-22 11:24:20 -07:00
Steve Fink
5cd675cf2b 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
fc130e8b4b 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
8c6644eac1 Bug 766975 - Rename OBJS-related dependency files. r=khuey 2012-06-22 18:29:03 +02:00
Jon Coppeard
19ae8c2cf4 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
08f94c004a 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
1578d01098 Bug 767306 - Temporarily make assertion from bug 766641 non-fatal. r=me 2012-06-22 12:01:18 +02:00
Jeff Walden
0a58aaf803 Bug 758913 - Remove JSCLASS_NEW_RESOLVE_GETS_START. r=dmandelin 2012-06-05 17:39:30 -07:00
Cameron McCormack
2d4b020464 Bug 448573 - Match French localisations of MSVC version banners. r=ted,dmandelin 2012-06-22 11:55:04 +10:00
Gregor Wagner
0473bacc10 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
909cd93291 Bug 765055: bind rest argument when defaults are present, r=jorendorff 2012-06-21 16:53:46 -07:00
Nicholas Nethercote
6a0391f8cb Bug 764714 (part 3) - Remove BytecodeEmitter::GlobalScope. r=jorendorff. 2012-06-13 23:29:04 -07:00
Nicholas Nethercote
f1c4bdbab3 Bug 764714 (part 2) - Move Parser::callerFrame to BytecodeEmitter. r=jorendorff. 2012-06-13 23:28:04 -07:00
Nicholas Nethercote
1836a4cb76 Bug 764714 (part 1) - Only set JSScript::savedCallerFun when appropriate. r=jorendorff. 2012-06-13 17:26:31 -07:00
Nicholas Nethercote
c50911ba29 Bug 766821 - Clear dead wood from Bindings. r=luke.
--HG--
extra : rebase_source : 88a769b7cc17ba4c850208e5c59916c1f7b2bde8
2012-06-20 19:14:35 -07:00
Jeff Walden
9eb451a896 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
8ee3848379 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
0f461c4697 Bug 755255 - Remove XPCPerThreadData. r=mrbkap
\o/
2012-06-21 16:14:49 +02:00
Bobby Holley
82d72b12d9 Bug 755255 - Remove thread iteration in XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
99aab01474 Bug 755255 - Remove mThreadData from XPCCallContext. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
4ddbbdcde0 Bug 755255 - Remove threadsafety checking machinery. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
61770623c2 Bug 755255 - Hoist Resolving* machinery into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
b3446a7583 Bug 755255 - Remove Usage of XPCPerThreadData::IsMainThread. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
4f29db66bd Bug 755255 - Hoist auto root list into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
5410f91c5b Bug 755255 - Hoist pending exception junk into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
68ab2b73b5 Bug 755255 - Make consumers of mCallContext go through XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
26cd32f3d4 Bug 755255 - Hoist mCallContext into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
428163fcd1 Bug 755255 - Make consumers of GetJSContextStack go through XPCJSRuntime. r=mrbkap 2012-06-21 16:14:48 +02:00
Bobby Holley
61da966ca9 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
742b686e2e Bug 755255 - Hoist mJSContextStack into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:48 +02:00
Bobby Holley
172742cebc 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
827ca3e0cb Fixup for pymake after bug 763987. r=ted 2012-06-21 14:50:42 +02:00
Randell Jesup
04cb98a9a8 Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Ed Morley
712c4f68c8 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
5202bce28f 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
d63c96bde5 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
d93e3043a0 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
58718e5c70 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00