Commit Graph

19660 Commits

Author SHA1 Message Date
Nicholas Nethercote
dc1e531d71 Bug 772615 (part 1) - Use the safe JSContext in the JS memory reporter. r=bholley. 2012-07-15 21:03:27 -07:00
Jeff Walden
2a28626ad6 Bug 773850 - Refactor method guarding to be able to work for methods that must be able to accept a |this| which is a proxy. r=luke
--HG--
extra : rebase_source : 1a015ffd3faa9fa6c82426c94058bce026602f8c
2012-07-03 17:44:22 -07:00
Nick Fitzgerald
fcaab16926 Bug 774464: Don't delete the sourceMapMap just because the 'putNew' operation failed. r=jimb 2012-07-16 15:09:55 -07:00
Jim Blandy
4a4b34e518 (No bug): js/src/frontend/Parser.cpp:Parser::comprehensionTail returns pointers, not bools. r=luke in IRC 2012-07-16 13:41:03 -07:00
Rafael Ávila de Espíndola
fcc958e22d Bug 774120 - #ifdef fields only used in debug builds. r=terrence. 2012-07-16 16:39:31 -04:00
Kannan Vijayan
9ed44eabd2 Bug 773731 - Fix UseNewType pattern matching. (r=bhackett) 2012-07-16 15:36:12 -04:00
Kannan Vijayan
45a006939c Backed out changeset 8837ebfb3045 - wrong bug number. 2012-07-16 15:33:51 -04:00
Alex Crichton
738b267315 Bug 774343 - Move the JS shell SPS assertion so the browser can use it. r=luke 2012-07-16 10:55:25 -07:00
Ed Morley
489adf7c8d Backout 29104ecddc3a (bug 769464) for crashtest assertions 2012-07-16 18:49:14 +01:00
Ed Morley
db49714a0c Merge mozilla-central to mozilla-inbound 2012-07-16 18:32:39 +01:00
Gabor Krizsanits
7d370fc235 Bug 771081 - part3: Rename WaiveXrayWrapperWrapper. r=gal 2012-07-16 19:28:17 +02:00
Lukas Blakk
1ebacabfe4 Merging in version bump NO BUG 2012-07-16 10:08:20 -07:00
Gabor Krizsanits
0908f47e39 Bug 771081 - part2: Rename CrossOriginWrapper files. r=gal
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-16 19:22:51 +02:00
Gabor Krizsanits
5061b6289d Bug 771081 - part1: Rename CrossOriginWrapper. r=gal 2012-07-16 17:53:16 +02:00
Peter Van der Beken
0d3a0c3732 Fix for bug 769464 (Check mDOMObjectIsISupports when unwrapping). r=bz.
--HG--
extra : rebase_source : 1bdf15c06e0e1e89a877a0f74300bf212de5b60e
2012-07-16 16:52:59 +02:00
Kannan Vijayan
8872a77475 Bug 77373 - Fix UseNewType pattern matching. (r=bhackett) 2012-07-16 10:36:48 -04:00
Neil Rashbrook
6fa3527dcc Bug 772303 Followup to simplify SkipRoot constructor so that it doesn't confuse VC2008 r=bhackett 2012-07-16 14:06:49 +01:00
Bill McCloskey
2ffb100c36 Bug 774104 - Add a read barrier when rooting JS objects (r=mccr8) 2012-07-15 14:37:15 -07:00
Bill McCloskey
d8a20cf52b Bug 774104 - Purge allocating arenas when incremental GC starts (r=mccr8) 2012-07-15 14:37:04 -07:00
Bill McCloskey
3c70386ae5 Bug 774104 - Avoid leaks during JS_TransplantObject (r=mccr8) 2012-07-15 14:36:58 -07:00
Ryan VanderMeulen
7faaa873f9 Merge m-c to inbound. 2012-07-14 08:48:58 -04:00
Olli Pettay
7db906c14c Bug 773803 - Remove nsIScriptObjectOwner, r=bz
--HG--
rename : dom/base/nsIScriptObjectOwner.h => dom/base/nsIScriptEventHandlerOwner.h
2012-07-14 01:23:59 +03:00
Ryan VanderMeulen
bf06c46235 Backout 3923d008386d (bug 753158) due to various regressions. 2012-07-13 23:48:08 -04:00
Jeff Walden
584f52cb27 Fix another obvious typo to make MutableHandle<Value> a friend of ValueOperations<MutableHandle<Value>> and MutableValueOperations<MutableHandle<Value>>. Followup to bug 773049, r=sparky
--HG--
extra : rebase_source : af69f1a76d4bd73fc9c87f778e4bd509242c78ea
2012-07-13 12:04:33 -07:00
Brian Hackett
a5275e577d Fix rooting hazard in eval cache, no bug. r=billm 2012-07-13 14:03:52 -06:00
Brian Hackett
c92b296ee8 Add more rooting for --enable-rootanalysis tbpl builds, bug 772303. r=terrence 2012-07-13 10:13:50 -06:00
Jan de Mooij
2991840b79 Bug 773586 - Initialize PICGenInfo::pc and clean up ICs a bit. r=bhackett 2012-07-13 15:32:25 +02:00
Bobby Holley
1a88142535 Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv 2012-07-13 14:33:25 +02:00
Bobby Holley
36dc1f0877 Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv 2012-07-13 10:55:14 +02:00
Ryan VanderMeulen
4079083fa0 Merge m-c to inbound. 2012-07-14 00:01:46 -04:00
Eric Faust
8cc5a05403 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Jeff Walden
c789b193fa Bug 773049 - Fix a comment typo noted by terrence over IRC, DONTBUILD to save resources. r=lumpy 2012-07-12 16:42:26 -07:00
Benjamin Peterson
bedf163a14 Bug 773115 - Remove unneeded needStrictChecks() call. r=njn 2012-07-12 19:28:54 -04:00
Benjamin Peterson
c98f778932 Bug 772012 - When the rest parameter aliases a function and defaults are present, don't try to set the rest parameter. r=jorendorff 2012-07-12 19:28:54 -04:00
Jeff Walden
b940fd409c Bug 773049 - Implement the Value interface in MutableHandle<Value> and Rooted<Value> (in addition to Handle<Value> and EncapsulatedValue which already manually implemented it), consolidating the Value interface bits in ValueOperations and MutableValueOperations classes using CRTP. r=bhackett
--HG--
extra : rebase_source : 436385599a7f071792c2d14037e1a1c639427c4f
2012-07-12 03:01:59 -07:00
Luke Wagner
5a689cbdcd Bug 773108 - Avoid overflowing blockid in CompExprTransplanter (r=dvander) 2012-07-11 22:07:25 -07:00
Brian Hackett
da6b1a78cd Add more rooting for interpreter, TI and JIT, bug 772303, r=terrence. Also disable Windows PGO for RegExp.cpp because the compiler is broken. 2012-07-12 12:36:27 -06:00
Luke Wagner
51d299ed9e Bug 753158 - emit ALIASEDVAR ops for upvars (r=bhackett)
--HG--
extra : rebase_source : 53c280967abc57f5a19e7dbc1dcfacc0603b202b
2012-07-05 20:35:08 -07:00
Luke Wagner
9a75002756 Bug 753145 - Attach static scope nesting information to scripts (r=jimb)
--HG--
extra : rebase_source : 0eaf04cf7f302308ce7f76c2012f75195e41f1bf
2012-07-03 10:24:36 -07:00
Luke Wagner
439bdb3b68 Bug 767750 - rm JSScript::evalHashLink (r=njn)
--HG--
extra : rebase_source : 6cbf87dc2cbc23c60ee278b9fd3b64b0936517bc
2012-07-03 10:24:35 -07:00
Luke Wagner
2c9d40f617 Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
* * *
imported patch fix-debugger-for-non-reentrant-removal

--HG--
extra : rebase_source : d77f8e19d0674726fb4078a73b6a3cb57ac91d73
2012-07-03 10:24:35 -07:00
Luke Wagner
043fc7c6eb Bug 765956 - Set Bindings' parent eagerly (r=bhackett)
--HG--
extra : rebase_source : 4f907c3e3692199033813539b173189d760b4a7c
2012-06-20 08:57:29 -07:00
Luke Wagner
f86b798bff Bug 771039 - assert some invariants in BindNameToSlot (r=dvander)
--HG--
extra : rebase_source : 9d0ba59ce4042bad88a7882b58b33f5f7b9ac19f
2012-07-05 20:29:24 -07:00
Luke Wagner
325a844223 Bug 771039 - fix CompExpTransplanter to correctly fix up implicit arguments definitions in generator expressions (r=dvander)
--HG--
extra : rebase_source : 27ac2ef2f61894272c5186eca8a77e54af286150
2012-07-08 04:35:09 -07:00
Jeff Walden
2dc0ce9a5b Remove a stray semicolon that causes a warning compiling pretty much any SpiderMonkey file. No bug, r=themaid 2012-07-12 10:53:43 -07:00
Ed Morley
b42ebe8a76 Backout 6bbf3f22bb5d (bug 753158), 38a703b244c2 (bug 753145), c9a5dfa1b07d (bug 767750), cd782fd66995 & 6cf7aa93994c (bug 765956), 0253f34f6bc2 & 41d5c8529748 (bug 771039),94f6bf99a4aa (bug 766447),fad7d06d7dd5 (bug 772303) for winxp pgo-only jsreftest failures (caused by fad7d06d7dd5) and the rest for conflicts, on a CLOSED TREE 2012-07-12 13:04:51 +01:00
Bobby Holley
3bdccb2949 Bug 601277 - Better tests for document.domain. r=mrbkap 2012-07-12 10:10:15 +02:00
Bobby Holley
bf7c218243 Bug 655649 - Stop doing dynamic security checks for document.domain. r=mrbkap 2012-07-12 10:10:15 +02:00
Bobby Holley
63851e7543 Bug 655649 - Use Subsumes Rather than Equals in XPConnect wrapper computation. r=mrbkap
Now that we have nsExpandedPrincipal, the current way of doing things is wrong. For some reason, the old document.domain hackery was hiding the failures here.
2012-07-12 10:10:15 +02:00
Benjamin Peterson
d190590ad3 Bug 773153: don't use operand context when looking for line end. r=njn 2012-07-12 00:03:25 -07:00