Commit Graph

375 Commits

Author SHA1 Message Date
Bobby Holley
676be52242 Bug 733606 - Only call FinishInitForWrappedGlobal when we just created a global. r=mrbkap
Without this patch, we call the above when restoring things out of the bfcache, which is bad. It must be called exactly once.
2012-03-08 09:33:30 -08:00
Bobby Holley
73485885f8 Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
d3868262e8 Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
1a5208e617 Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap 2012-03-05 15:22:44 -08:00
Andrew McCreight
001abedc5d Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug 2012-03-05 13:48:33 -08:00
David Mandelin
60e80d55b6 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Peter Van der Beken
98a0ede326 Fix for bug 637099 (Remove JS_ClearScope calls on windows). r=mrbkap.
--HG--
extra : rebase_source : 8bdadc72a0b28c78e21758fab8f1035ee1dd9f3d
2011-03-15 12:06:39 +01:00
Olli Pettay
13e6f580ef Bug 730753, call CC after full GC, r=mccr8 2012-02-27 16:49:59 +02:00
Andrew McCreight
8acb3a3fe5 Bug 697115 - return detailed CC results. r=smaug 2012-02-23 20:16:37 -08:00
Luke Wagner
94ca05bbf8 Bug 720289 - Back out most of bug 699974 (r=jst) 2012-02-22 19:39:29 -08:00
Olli Pettay
7a6ac5442b Bug 728547 - Increase the forgetSkippable timer value, r=mccr8 2012-02-19 20:36:06 +02:00
Bill McCloskey
6b3aa0565d Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Chris Leary
0b948a4184 Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Olli Pettay
ea2d04cbc4 Bug 726007 - Add telemetry probes for forgetSkippable, r=mccr8
--HG--
extra : rebase_source : aa3a24a53fc95c41bbe460bba732cc5e024107dc
2012-02-11 01:30:20 +02:00
Igor Bukanov
748c9f34a7 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
38fe4ed717 backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
e4e3433d0c bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Saint Wesonga
5f0154ca20 Bug 394769. Remove the additional lateness argument for timeouts and intervals. r=jst 2012-02-07 15:28:08 -05:00
Igor Bukanov
3163d5e91e bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Jonathan Kew
bd99a4284f backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts. 2012-02-03 14:01:35 +00:00
Olli Pettay
08dfac99be Bug 716014 - Use CompartmentGC more often, r=billm,mccr8 2012-02-02 22:34:53 +02:00
Olli Pettay
cdb5d5b24a Bug 723157 - Call forgetSkippable more often, r=mccr8
--HG--
extra : rebase_source : fdbca61ec4ef1d5898539f24248dd19f2767103e
2012-02-01 19:44:03 +02:00
Olli Pettay
98d9305fe1 Bug 723064 - Many debug xpcshell-tests show leaks of 1 each of Mutex, ReentrantMonitor, nsTArray_base, nsThread, nsTimerImpl, r=mccr8
--HG--
extra : rebase_source : 7ec508569cf5a64cea12fb5f085f4feb1f9234bd
2012-02-01 19:41:17 +02:00
Olli Pettay
e297be8544 Bug 721543 - Call forgetSkippable before CC, r=mccr8
--HG--
extra : rebase_source : 4be50f8bcab1418c563394379abb6b4f074697b3
2012-01-30 22:06:18 +02:00
Bill McCloskey
502e67c72c Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Andrew McCreight
9b939c5f9b bug 717711 - telemetry for time in between cycle collections. r=smaug 2012-01-20 12:02:18 -08:00
Ms2ger
481a852857 Bug 677079 - Part k: Expose outstandingRequests in jsfriendapi.h; r=cdleary 2012-01-15 09:13:09 +01:00
Ms2ger
b36971fb80 Bug 677079 - Part h: Expose debuggerHandler in jsfriendapi.h; r=igor 2012-01-15 09:13:09 +01:00
Ms2ger
dbd0ec7cdd Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
28ef8d5df7 Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Igor Bukanov
e5d91c8d73 bug 713916 - DOMGCFinishedCallback should schedule just GC buffer shrinking, not a full shrinking GC. r=bent 2011-12-27 12:59:29 +01:00
aceman
42a71aa907 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Boris Zbarsky
1b8698e479 Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Boris Zbarsky
62700b4c98 Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap 2011-12-19 12:47:52 -05:00
Phil Ringnalda
a30061699c Back out 316d6a49a603 and 98617f7b667b (bug 624621) for jsreftest failures 2011-12-19 18:40:16 -08:00
Boris Zbarsky
9e927dd338 Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Boris Zbarsky
f78b6a85f7 Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap 2011-12-19 12:47:52 -05:00
Matt Brubeck
f4c7d3ce39 Back out c68ddc33f098 and 18332142caa5 (bug 624621) for jsreftest failures 2011-12-19 10:42:27 -08:00
Boris Zbarsky
420b0132de Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Boris Zbarsky
da3127836d Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap 2011-12-19 12:47:52 -05:00
Ms2ger
2de98c5a5a Bug 709524 - Remove nsIScriptContext::SetDefaultLanguageVersion; r=jst 2011-12-18 11:13:39 +01:00
Ms2ger
e55f25e5ac Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz 2011-12-18 11:05:12 +01:00
Jeff Walden
476c7d19c5 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Luke Wagner
c9889b4f09 Bug 699974 - Plug several holes that prevent stopping slow scripts (r=jst)
--HG--
extra : rebase_source : 220a804295ee3b5fc00c6a23769f05731560c8fe
2011-12-06 13:11:22 -08:00
Nicholas Nethercote
5ec7ee41ae Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Jeff Muizelaar
d812d1d6ce Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -05:00
Ryan VanderMeulen
62a927d2f5 Bug 705401 - Remove the rest of TraceVis. r=dvander 2011-11-28 16:08:25 -08:00
Ryan VanderMeulen
c99172b952 Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Terrence Cole
fb465cb23d Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC.  This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.

--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Ms2ger
74b4dc066b Bug 698410 - Pass JSObject to nsIScriptContext::InitClasses; r=jmaher 2011-11-26 11:19:45 +01:00