Commit Graph

1161 Commits

Author SHA1 Message Date
David Anderson
0dd00bedfa Merge from mozilla-central. 2012-06-20 17:36:56 -07:00
Masatoshi Kimura
e4c6542ef9 Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
David Anderson
4660835989 Merge from mozilla-central. 2012-06-12 17:44:22 -07:00
Jan de Mooij
076d4b18ce Merge m-c to ionmonkey 2012-06-08 11:18:39 +02:00
Jason Orendorff
a7c7c697dd 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
Ms2ger
a1e6f324aa Bug 759082 - Remove nsIScriptContext::InitOuterWindow; r=mrbkap 2012-06-06 09:40:00 +02:00
Ms2ger
853bc83d00 Bug 760049 - Move nsIScriptContext::CreateNativeGlobalForInner to nsGlobalWindow.cpp; r=jst 2012-06-06 09:38:51 +02:00
Sean Stangl
5cfd7b51a1 Merge m-c to Ionmonkey. 2012-06-04 13:30:29 -07:00
Sean Stangl
33d4a46d9a Merge m-c onto Ionmonkey. 2012-05-31 17:17:52 -07:00
Bill McCloskey
153cb4583d Bug 761739 - Make timer-triggered GCs be incremental (r=smaug) 2012-06-10 21:28:05 -07:00
Bill McCloskey
d0df212c4e Bug 758034 - Create separate inter-slice GC timer (r=smaug) 2012-06-10 21:27:59 -07:00
Jason Orendorff
97c660a9e4 Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo. 2012-05-30 15:05:59 -05:00
L. David Baron
1e336805c1 Backout bug 754202 (all patches, rather than just patches 3-7). 2012-06-10 17:22:31 -07:00
Ryan VanderMeulen
271d40a311 Backout 90107a2a0c64 (bug 754202) for real due to orange. 2012-06-10 19:46:20 -04:00
Ryan VanderMeulen
4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Bobby Holley
6f6d059e17 Back out bug 754202. r=me 2012-06-11 00:28:05 +02:00
Bobby Holley
b0e7ddb37f 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
Bobby Holley
bf0bd712dc Bug 754202 - Disallow calling EvaluateString{,WithValue} with a principal that doesn't match the global. r=mrbkap 2012-06-07 14:28:21 +02:00
David Anderson
4a7b56f624 Merge from mozilla-central. 2012-05-23 14:33:15 -07:00
David Anderson
6d3300ecb8 Merge from mozilla-central. 2012-05-21 14:40:04 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Bill McCloskey
364b2abcdf Bug 735099 - Re-enable incremental GC (r=dmandelin) 2012-05-31 08:17:13 -07:00
David Anderson
4498d86fba Merge from mozilla-central. 2012-05-10 13:44:10 -07:00
Olli Pettay
73f1ef7983 Bug 716014 Investigate if we could use CompartmentGC more often, r=billm+terrence 2012-05-09 21:53:23 +03:00
David Anderson
6945bf688d Merge from mozilla-central. 2012-05-04 19:16:35 -07:00
David Anderson
dddbd8662f Merge from mozilla-central. 2012-05-03 11:40:52 -07:00
Olli Pettay
243ffcb195 Bug 751561 - Call forgetSkippable at least twice before CC, r=mccr8 2012-05-03 19:17:01 +03:00
Nils Maier
689174165b Bug 754771 - Add identifying information to all system compartments. r=bz 2012-05-16 19:42:10 +02:00
Ehsan Akhgari
744e754a48 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 (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Olli Pettay
a70b60ee03 Backout Bug 716014, a=bustage 2012-05-05 18:20:09 +03:00
Olli Pettay
50c0988cf9 Bug 716014, use compartment gc more often, r=billm 2012-05-05 11:55:30 +03:00
David Anderson
063a2ce15e Merge from mozilla-central. 2012-04-30 12:53:32 -07:00
Andrew McCreight
6cdc9464f2 Bug 757537 - use nsCString for forced GC message. r=smaug 2012-05-22 13:10:37 -07:00
Matt Brubeck
414f48355d Back out bug 730208 and bug 747543 because of xpcshell test failures 2012-04-24 20:47:16 -07:00
David Anderson
2ff0bc15ba Enable IonMonkey in the browser, and introduce an about:config option to pref it off (bug 745390, r=dmandelin). 2012-04-19 15:02:47 -07:00
Benjamin Peterson
e8a5636224 Bug 774706 - Ensure script to be serialized is not gray. r=mccr8 2012-08-07 13:24:44 -07:00
Benjamin Peterson
4a307b669d Bug 779724 - Use finer-grain source controls in the browser. r=jorendorff, sr=jst 2012-08-07 10:39:47 -07:00
Steve Fink
9de394302c Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
2012-03-14 09:32:58 -07:00
Steve Fink
418fb9605b Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug 2012-03-20 21:29:47 -07:00
Andrew McCreight
b0785e2034 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Ed Morley
66cfb2bdeb Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Matt Brubeck
ea952c952e Back out 438c192e561b and d6f341e77b68 (bug 762652, bug 762654) on suspicion of breaking Windows PGO tests 2012-06-27 16:24:53 -07:00
Andrew McCreight
e5e9d5d55c Bug 754495, part 9 - Don't merge too much. r=smaug 2012-06-27 08:10:43 -07:00
Andrew McCreight
09b0d71101 Bug 754495, part 8 - do merging CCs when there's a gray global. r=smaug,mrbkap 2012-06-27 08:10:32 -07:00
Andrew McCreight
35b9fac907 Bug 754495, part 7 - indicate if CycleCollectNow is forced. r=smaug 2012-06-27 08:10:20 -07:00
Andrew McCreight
6e42ed966d Bug 754495, part 6 - indicate in error console if we do a merged CC. r=smaug 2012-06-27 08:10:09 -07:00
Andrew McCreight
f60cf5170e Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug 2012-06-27 08:09:56 -07:00
Peter Van der Beken
d73c39cd0c Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00
Gavin Sharp
6f7a7411b1 Bug 771977: terminate long running scripts if showing the slow script dialog fails (e.g. when the script is running in the hidden window), r=jst 2012-07-16 11:44:09 -07:00