Terrence Cole
0ba328a507
Bug 531396 - Expose detailed GC timing information API; r=smaug,billm
...
Extensions such as MemChaser would really like an easier to parse and more
complete record of GC events than what can be gleaned from the message console.
This patch adds GC and CC observer messages formatted as JSON containing
detailed statistics.
2012-03-05 15:33:24 -08:00
Bill McCloskey
536021f834
Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug)
2012-03-12 16:25:03 -07:00
David Anderson
a02e3e035e
Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent).
2012-03-06 15:33:12 -08:00
Ms2ger
1442c59d93
Bug 734481 - Make nsIJSArgArray inherit from nsIArray; r=jst
2012-03-11 09:53:05 +01:00
Ms2ger
1c8f3fe8f8
Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst
2012-03-11 09:51:22 +01:00
Ms2ger
41880c8da4
Bug 734472 - Pass JSObject to nsIScriptContext::SetProperty; r=jst
2012-03-11 09:50:22 +01:00
Ms2ger
37fbbb6164
Bug 734468 - Make SetTerminationFunction return void; r=jst
2012-03-11 09:49:15 +01:00
Igor Bukanov
524dbd7e47
bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
...
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Jacob Holzinger
6a62cb6a9b
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
...
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Bill McCloskey
33fc80f486
Bug 730853 - Make sure we occasionally CC with lots of incremental GCs (r=smaug,mccr8)
2012-03-08 15:37:13 -08:00
Bobby Holley
0691c709ea
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
c6f2bff359
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
3ca761b44b
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
5dd44b1a43
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Andrew McCreight
202cc5f858
Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug
2012-03-05 13:48:33 -08:00
David Mandelin
3588ac5aae
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Peter Van der Beken
34f61797c8
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
c3a5e54da8
Bug 730753, call CC after full GC, r=mccr8
2012-02-27 16:49:59 +02:00
Andrew McCreight
d592ecef31
Bug 697115 - return detailed CC results. r=smaug
2012-02-23 20:16:37 -08:00
Luke Wagner
e3a18d2db4
Bug 720289 - Back out most of bug 699974 (r=jst)
2012-02-22 19:39:29 -08:00
Olli Pettay
2f504bab96
Bug 728547 - Increase the forgetSkippable timer value, r=mccr8
2012-02-19 20:36:06 +02:00
Bill McCloskey
d15702e36f
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Chris Leary
96f0cafa66
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
a5365aab08
Bug 726007 - Add telemetry probes for forgetSkippable, r=mccr8
...
--HG--
extra : rebase_source : aa3a24a53fc95c41bbe460bba732cc5e024107dc
2012-02-11 01:30:20 +02:00
Igor Bukanov
3638c8cf65
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
55704654e7
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
ca990d2064
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
6ba339c937
Bug 394769. Remove the additional lateness argument for timeouts and intervals. r=jst
2012-02-07 15:28:08 -05:00
Igor Bukanov
17db9a067b
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
Jonathan Kew
ec184320f2
backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts.
2012-02-03 14:01:35 +00:00
Olli Pettay
8e65790a5d
Bug 716014 - Use CompartmentGC more often, r=billm,mccr8
2012-02-02 22:34:53 +02:00
Olli Pettay
5033c99fcd
Bug 723157 - Call forgetSkippable more often, r=mccr8
...
--HG--
extra : rebase_source : fdbca61ec4ef1d5898539f24248dd19f2767103e
2012-02-01 19:44:03 +02:00
Olli Pettay
a569987a57
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
ef677e07dd
Bug 721543 - Call forgetSkippable before CC, r=mccr8
...
--HG--
extra : rebase_source : 4be50f8bcab1418c563394379abb6b4f074697b3
2012-01-30 22:06:18 +02:00
Bill McCloskey
dc52ba7996
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
cec92aa542
bug 717711 - telemetry for time in between cycle collections. r=smaug
2012-01-20 12:02:18 -08:00
Ms2ger
c13b7236b0
Bug 677079 - Part k: Expose outstandingRequests in jsfriendapi.h; r=cdleary
2012-01-15 09:13:09 +01:00
Ms2ger
2cedc161bf
Bug 677079 - Part h: Expose debuggerHandler in jsfriendapi.h; r=igor
2012-01-15 09:13:09 +01:00
Ms2ger
776fd33214
Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
2365b12e07
Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Igor Bukanov
e832967458
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
002cb306a6
Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky
2011-12-21 16:51:29 -05:00
Boris Zbarsky
dee08cd634
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
553111de9c
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
6755b58eda
Back out 316d6a49a603 and 98617f7b667b (bug 624621) for jsreftest failures
2011-12-19 18:40:16 -08:00
Boris Zbarsky
702133dce8
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
afebd76ac7
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
1a0a35d860
Back out c68ddc33f098 and 18332142caa5 (bug 624621) for jsreftest failures
2011-12-19 10:42:27 -08:00
Boris Zbarsky
391183b598
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
1231fb53c7
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
1f5b3d83bd
Bug 709524 - Remove nsIScriptContext::SetDefaultLanguageVersion; r=jst
2011-12-18 11:13:39 +01:00
Ms2ger
d717a67336
Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz
2011-12-18 11:05:12 +01:00
Jeff Walden
735580ff0e
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
35d3c120f6
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
6bbcf3b4f8
Bug 704400 - Implement --enable-dmd. r=khuey.
2011-12-08 19:09:36 -08:00
Jeff Muizelaar
9317a91431
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Ryan VanderMeulen
13f1ad255a
Bug 705401 - Remove the rest of TraceVis. r=dvander
2011-11-28 16:08:25 -08:00
Ryan VanderMeulen
c8b2d72d22
Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander
2011-11-28 14:57:31 -08:00
Terrence Cole
b08432d55e
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
1b4e5e652c
Bug 698410 - Pass JSObject to nsIScriptContext::InitClasses; r=jmaher
2011-11-26 11:19:45 +01:00
Ms2ger
0f27987dfd
Bug 698408 - Pass JSObject to nsIScriptContext::SetOuterObject; r=jst
2011-11-26 11:19:15 +01:00
Ms2ger
a939d63cd6
Bug 698404 - Pass JSObject to nsIScriptContext::ConnectToInner; r=khuey
2011-11-26 11:18:28 +01:00
Ms2ger
6f293c463f
Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst
2011-11-26 11:14:29 +01:00
Ms2ger
08d4625233
Bug 698397 - Introduce nsScriptObjectHolder::setScript; r=bz
2011-11-26 11:12:18 +01:00
Ms2ger
cacbdf70c6
Bug 698395 - Give nsIScriptContext::CreateNativeGlobalForInner a JSObject outparam; r=peterv
2011-11-26 11:12:16 +01:00
Ms2ger
bb83fee064
Bug 698394 - Pass JSObject handler to nsIScriptContext::BindCompiledEventHandler; r=sicking
2011-11-26 11:11:35 +01:00
Ms2ger
7b498fc60c
Bug 698390 - Make nsIScriptContext::CallEventHandler take a JSObject handler parameter; r=sicking
2011-11-26 11:09:20 +01:00
Ms2ger
e0996917fc
Bug 698389 - Give nsIScriptContext::CompileFunction a JSObject outparam; r=peterv
2011-11-26 11:08:42 +01:00
Ms2ger
60c3f2d161
Bug 698388 - Pass JSObject to nsIScriptContext::CompileFunction; r=sicking
2011-11-26 11:07:55 +01:00
David Anderson
17e871eaeb
Remove browser prefs for the tracer (bug 698201 part 7, r+sr=gal).
2011-11-22 17:41:43 -05:00
Ms2ger
ca1d96f999
Bug 698380 - Give nsIScriptContext::EvaluateStringWithValue a JS::Value retval parameter; r=peterv
2011-11-16 08:50:20 +01:00
Ms2ger
d8a3105318
Bug 698378 - Give nsIScriptContext::EvaluateStringWithValue a JSObject* scope parameter; r=peterv
2011-11-16 08:50:19 +01:00
Ms2ger
1dacc7fc0b
Bug 696604 - Remove nsIScriptContext::CompileScript's aScopeObject parameter; r=peterv
2011-11-16 08:50:19 +01:00
Ms2ger
a4e37b2f13
Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap
2011-11-16 08:50:19 +01:00
Bill McCloskey
b77a56e06b
Bug 699298 - Overhaul GC statistics gathering (r=gwagner)
2011-11-09 13:32:17 -08:00
Chris Leary
a4908dc54a
Bug 700822: Add javascript.options.jit_hardening pref, default enabled. (r=dmandelin)
2011-11-08 13:28:49 -08:00
Randell Jesup
c06ec5f1c7
Bug 693586: Add circular buffer support to jprof r=dbaron
2011-11-08 00:34:40 -05:00
Andreas Gal
43493514bd
Bug 693212 - Fix "Assertion failure: !cx->isExceptionPending()" by adding a missing ReportPendingException() call. r=bzbarsky
2011-11-04 19:05:35 +01:00
Ms2ger
7852c8dc13
Bug 696668 - Give nsIScriptContext::CallEventHandler a JSObject scope parameter; r=mrbkap
2011-10-29 22:19:03 +02:00
Ms2ger
a4ff6e7232
Bug 696666 - Give nsIScriptContext::BindCompiledEventHandler a JSObject scope parameter; r=jst
2011-10-29 22:18:21 +02:00
Ms2ger
b6e4d8c64c
Bug 696665 - Give nsJSContext::JSObjectFromInterface a JSObject scope parameter; r=volkmar
2011-10-29 22:17:00 +02:00
Ms2ger
7834af665f
Bug 694867 - Part f: Pass a JSScript to nsIScriptContext::ExecuteScript; r=volkmar
2011-10-29 22:15:43 +02:00
Ms2ger
38fb4a105b
Bug 694867 - Part a: Pass a JSScript to nsIScriptContext::Serialize and store a JSScript in nsXULPrototypeScript::ScriptObjectHolder::mObject; r=volkmar
2011-10-29 22:12:47 +02:00
Ms2ger
8a093cd695
Bug 694838 - Make nsIScriptContext::EvaluateString's second parameter a JSObject; r=volkmar
2011-10-29 22:11:51 +02:00
Ms2ger
1f2439ff66
Bug 694781 - Make nsIScriptContext::ExecuteScript's second parameter a JSObject; r=volkmar
2011-10-29 22:10:49 +02:00
Ms2ger
a8dba5714a
Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug
2011-10-29 22:09:04 +02:00
Ms2ger
36940470e1
Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst
2011-10-29 22:06:17 +02:00
Igor Bukanov
328fbe7fcc
bug 684529 - remove script object. r=jorendorff
2011-09-22 12:08:55 +02:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Peter Van der Beken
0d28b21bc4
Fix for bug 694009 (crash mozilla::dom::binding::instanceIsProxy) - clear cache when wrapper is finalized. r=mrbkap.
...
--HG--
extra : rebase_source : 5edfb2299cf7ba4d6a86382459d045cf52999c27
2011-10-13 15:36:09 +02:00
Peter Van der Beken
9fe2ac6cc5
Stop including nsDOMClassInfo.h all over the place.
...
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Brian Hackett
a60c6df2bc
Fix --enable-functiontimer build, bug 690943.
2011-10-06 07:54:35 -07:00
Brian Hackett
c632b70b2b
Remove jsobj.h from installed headers, bug 690943. r=luke
2011-10-04 07:06:54 -07:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Chris Leary
f3238fadd7
Bug 684039: Don't use JSArenaPool in nsJSEnvironment. (r=mrbkap)
...
--HG--
extra : rebase_source : 63c16359271389509b7fc118a3d55c965eb8a931
2011-09-22 15:13:36 -07:00
Igor Bukanov
5f051a4c5b
bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff
2011-09-02 08:46:00 +02:00
Ms2ger
09c97f4a38
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Steve Fink
45f59a4763
Bug 686571 - Add options javascript.options.pccounts.content and javascript.options.pccounts.chrome for controlling JSOPTION_PCCOUNTS (r=dmandelin)
2011-09-07 16:58:28 -07:00
Blake Kaplan
049f1f1cc4
Bug 682946 - Remove useless flags local. r=jst
2011-09-02 16:51:10 -07:00
Jason Orendorff
4ebbd8142d
Fix stranded use of recently-deleted GET_FUNCTION_PRIVATE macro, in #ifdef NS_FUNCTION_TIMER code, spotted by dietrich. See bug 513014 comment 1.
2011-09-01 11:31:14 -05:00
Brian Hackett
2c18d8ec04
Merge MC -> JM
2011-08-29 18:41:32 -07:00
Brian Hackett
5ae2dc304a
Merge MC -> JM
2011-08-26 11:23:35 -07:00
Boris Zbarsky
1c9abe2f8d
Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
...
The changes here are as follows:
1) nsIJSEventListener now stores the handler. This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Mihai Sucan
47eca82a8c
Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky
2011-08-24 23:44:35 +03:00
Brian Hackett
9ba7e372e9
Merge MC -> JM
2011-08-21 16:00:26 -07:00
Brian Hackett
a19a98106f
Merge MC -> JM
2011-08-12 07:20:08 -07:00
Ms2ger
3fea5b3901
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Brian Hackett
c743913090
Merge MC -> JM
2011-08-09 13:29:11 -07:00
Michael Wu
249b0f753d
Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap
2011-08-03 18:59:10 -07:00
Brian Hackett
ddbe27d468
Merge MC -> JM
2011-08-02 09:08:05 -07:00
Brian Hackett
47b5c3287d
Merge MC -> JM.
...
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-28 18:10:31 -07:00
Steve Fink
8616787346
Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
...
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.
Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.
--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Brian Hackett
f631882466
Merge MC -> JM
2011-07-21 18:53:37 -07:00
Neil Rashbrook
23e26fae22
Bug 675179 nsJSContext::ExecuteScript failes to report pending exceptions r=bz
2011-07-30 23:32:00 +01:00
Ben Turner
0d1a7cf82e
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
...
* * *
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. Add workaround for bug 666963.
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-17 15:09:13 -04:00
Brian Hackett
987914bed5
Merge MC -> JM
2011-07-15 14:40:15 -07:00
Ehsan Akhgari
72428d5e92
Backout changeset fdddabd345b9 and changeset 3857a4309fc3 (bug 649537) because of three mochitest-3 intermittent failures which seem to be caused by this on Windows debug builds
2011-07-18 18:14:59 -04:00
Ben Turner
820e368a57
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
...
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-17 15:09:13 -04:00
Matheus Kerschbaum
b0c1f89ef4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Brian Hackett
1e3ee7d7f9
Merge TM -> JM
2011-07-01 16:24:32 -07:00
Brian Hackett
dab2052347
[INFER] Fix merge botch, only warn once for each script accessing undefined properties in contexts with the strict option set, bug 662393.
2011-06-06 17:12:49 -07:00
Brian Hackett
702ed9a730
Merge TM -> JM
2011-06-06 16:47:40 -07:00
Chris Leary
b1d3530553
Merge mozilla-central to tracemonkey.
2011-06-06 09:41:22 -07:00
Brian Hackett
3b901682ef
Merge TM -> JM
2011-06-02 12:59:28 -07:00
Steve Fink
af03a290b1
Bug 671046 - unwrap function objects if needed before JS_GetFunctionId for NS_FUNCTION_TIMER (r=mrbkap)
...
--HG--
extra : rebase_source : 38207adcc8ecd1c270f6860ba8ff88b04cb89f5c
2011-07-07 11:30:43 -07:00
Ehsan Akhgari
a5e1d4aa7d
Backout changeset 7c1a923bea13 (bug 649537) because of mochitest-3 and mochitest-oth oranges
2011-07-12 14:25:53 -04:00
Ben Turner
d77fe79334
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
...
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-12 12:32:14 -04:00
Brian Hackett
39f93deacb
Merge TM -> JM
2011-05-22 08:59:06 -07:00
Wes Kocher
2f7dd9228d
Bug 661690. Add preferences for gczeal frequency and whether the gczeal gc should be a per-compartment gc. r=wmccloskey
2011-07-21 17:31:36 -04:00
Daniel Holbert
c91fa35aba
Bug 658849 followup: Remove one more instance of harmless "WARNING: Failed to create timer" message that gets spammed on shutdown. r=gal
2011-05-31 17:42:46 -07:00
Bill McCloskey
ebcdca5a0d
Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner)
2011-06-01 17:48:52 -07:00
Brian Hackett
43722431f8
Merge TM -> JM
2011-05-11 20:37:23 -07:00
Gregor Wagner
6990ad0d74
Bug 603916 - unifying GC sheduling. r=igor
2011-05-10 22:37:11 -07:00
Brian Hackett
418174fe1d
Merge TM -> JM
...
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
2011-05-09 09:49:48 -07:00
Blake Kaplan
9983181d48
Bug 643393 - Speed up nsJSContext::GetGlobalObject. r=peterv
2011-04-28 13:28:54 -07:00
Chris Leary
d8a23919cc
Merge mozilla-central to tracemonkey. (CLOSED TREE)
2011-05-02 10:55:34 -07:00
Chris Jones
d737e982f8
Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke
2011-04-28 17:48:52 -05:00
Chris Jones
91abf226cc
Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke
2011-04-28 17:48:51 -05:00
Brian Hackett
1122e26106
Merge TM -> JM
2011-04-12 07:04:45 -07:00
Jeff Walden
c35a61253a
Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
...
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Luke Wagner
2afe24d969
Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap)
...
--HG--
extra : rebase_source : 756a640568464d11fe6bb00104a2fdb6f6d02d02
2011-05-13 08:56:26 -07:00
Ed Morley
d1593c3361
Bug 651657 - Remove WinCE & Windows Mobile code from dom/* ; r=jst,dolske
2011-04-29 15:50:53 +02:00
Brian Hackett
e4597a953a
Merge TM -> JM
2011-03-09 09:58:49 -08:00
Brian Hackett
33a66c9910
[INFER] Fix OOM handling in type inference, convert inference to runtime option, bug 637674.
2011-03-03 14:07:48 -08:00
bent.mozilla@gmail.com
70430c32f6
Only run CC after the GC has run at least once (bug 626768, r=gal).
2011-02-23 00:08:36 -08:00
Andreas Gal
a2f58bb615
When idle the GC holds on to unused chunks indefinitely (bug 631733, r=brendan, a=blocker). (relanding in a CLOSED TREE)
2011-02-19 22:59:49 -08:00
Olli.Pettay@gmail.com
ee8057dfaa
Don't call GC or CC unexpectedly during shutdown (bug 635251, r/a=gal). (relanding in a CLOSED TREE)
2011-02-20 00:20:14 -08:00
Jeff Walden
355d67127f
#jsapi observed the extent of orange in the TM tree and saw that OS X x86 opt was consistently and totally evil. So jwalden was sorry he had ever pushed changes for bug 631135. It broke his heart. And he said, “I will wipe this tree of every push back to 9105cd721d46. Yes, and I will revert the entire TM CLOSED TREE. I am sorry I ever pushed to it.” But 9105cd721d46 found favor with #jsapi.
2011-02-20 17:46:35 -08:00
Olli.Pettay@gmail.com
ab845aac65
Don't call GC or CC unexpectedly during shutdown (bug 635251, r/a=gal).
2011-02-20 00:20:14 -08:00
Andreas Gal
b04b027010
When idle the GC holds on to unused chunks indefinitely (bug 631733, r=brendan, a=blocker).
2011-02-19 22:59:49 -08:00
Jeff Walden
313285871c
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
...
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -08:00
Jeff Walden
77f31fb7fe
Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
2011-02-08 17:20:06 -08:00
Olli Pettay
068460f52c
Don't GC nsContentUtils::XPConnect on shutdown if it doesn't exist. r=gal a=blocking2.0:final+,hard
2011-02-18 15:14:21 -08:00
Andreas Gal
d3c4e8836e
Fix GC/CC scheduling (bug 630932, patch by gal/smaug, r=mrbkap).
2011-02-16 15:47:12 -08:00
Ben Turner
348158b35c
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-16 12:47:08 -08:00
Andreas Gal
281e6dc4a4
Xray wrappers don't cache resolved native properties on the holder object (bug 633382, r=mrbkap/jst, a=blocker).
2011-02-15 19:00:55 -08:00
Andreas Gal
dacd830421
js_UnbrandAndClearSlots leaks, use JS_ClearScope and throw if compile-N-go scripts are run after JS_ClearScope (630072, r=brendan).
2011-02-13 20:55:33 -08:00
Bill McCloskey
7c5d404068
Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander)
2011-02-11 16:31:32 -08:00
Luke Wagner
3cfb03a5ab
Bug 627954, part 1: take out unnecessary compartment hack (r=gal)
...
--HG--
extra : rebase_source : 471f500689b2b8a79386907b3071b27c1c67afbe
2011-02-01 15:45:46 -08:00
Ben Turner
5c5c52142e
Backout 10ebc5ea11ac due to test failures.
2011-02-09 15:29:31 -08:00
Ben Turner
b5732806d2
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-09 12:51:16 -08:00
Jim Blandy
8ec41b7213
Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
...
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ben Turner
0c32b890b9
Backout bug 614347 due to test failures
2011-02-08 22:15:48 -08:00
Ben Turner
633b25f14a
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-08 18:54:14 -08:00
Olli Pettay
e8861d66b4
Bug 630947, run GC more often before CC, r=gal, a=blocker
2011-02-08 11:43:56 +02:00
Justin Lebar
f2c83b0aa6
Bug 669346 - Don't force two GCs on memory pressure on Android. r=mfinkle,bz
2011-07-07 14:27:07 -04:00
Ms2ger
f93a63f448
Bug 647549 - Unused variable newInnerJSObject in nsJSContext::ConnectToInner; r=jst
2011-04-11 00:48:17 -04:00
Blake Kaplan
392145f45e
Fix bug 643450. r=peterv
...
--HG--
extra : rebase_source : b49b5ee41b5465090ce7b6db5793174ffe2ad9be
2011-04-08 14:28:24 -07:00
Blake Kaplan
14fc761f75
Bug 642022 - Deal with the return value being in a different compartment. r=gal
...
--HG--
extra : rebase_source : b924c99e830cdafd7e1471cf087e69cfc7e33e23
2011-04-08 14:28:24 -07:00
David Mandelin
97fa2f9d5d
Bug 611652: clear values instead of scope when global window is cleared, r=brendan,enn,jeff,mrbkap,smaug
...
--HG--
extra : rebase_source : 77e3844d35de229817bee767256a96d030a78bf9
2011-01-21 18:37:30 -08:00
Olli Pettay
36fb03d5e8
Bug 624549, Don't call GC so aggressively in nsJSContext::CC, r=gal, a=jst
2011-01-29 22:55:39 +02:00
Chris Leary
5c65e6d6bb
CLOSED TREE: Merge mozilla-central and tracemonkey. (a=blockers)
2011-01-27 20:06:21 -08:00
Chris Leary
263b412396
Merge the backout head.
2011-01-27 16:26:21 -08:00
Chris Leary
c41c5e92a8
Backed out changeset b5ca98debed0
2011-01-27 16:25:30 -08:00
Blake Kaplan
a5c52e0162
Fix bustage from bug 611485. r=gal
2011-01-27 12:46:20 -08:00
Paolo Amadini
0f634b2f2b
Bug 622326. If we still have script running when we want to clear our window scope, use a termination function, not a runnable, to wait for it to finish. r=bzbarsky,jst a=blocker
2011-01-27 14:42:19 -08:00
David Mandelin
4fd6f70f92
Bug 611653: clear values instead of scope when global window shuts down, r=brendan,smaug
2011-01-21 18:37:30 -08:00
Chris Leary
e53078d333
Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-27 02:54:58 -08:00
Chris Leary
8a9852db5d
Backed out changeset b88172246b66 due to Win32 debug failures.
2011-01-25 04:11:47 -08:00
Chris Leary
39fad63856
Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-25 02:33:27 -08:00
Chris Leary
f834b150eb
Merge mozilla-central and tracemonkey. (a=blockers)
2011-01-24 19:47:52 -08:00
Patrick Walton
8c9dac221a
Bug 628110 - Back out changeset d1adb7b245bd (removal of MaybeGC() every 20th script execution) to fix SunSpider regression. r=gal a=blocking2.0:betaN+
2011-01-24 14:56:40 -08:00
Luke Wagner
c0a055938a
Bug 625251 - nsJSEnvironment should enter the compartment before converting arguments to jsvals (r=mrbkap)
...
--HG--
extra : rebase_source : 3ae0fd2b96fcdc072a75ecb025417723b9f0702b
2011-01-21 15:25:04 -08:00
Chris Leary
04ffe6d2a0
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-18 11:19:21 -08:00
Andreas Gal
c71d128474
Temporary restore old shark start/stop functions (bug 625993, r=bz).
2011-01-14 19:02:11 -08:00
Andreas Gal
f5c9522e86
Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer).
2011-01-14 17:58:40 -08:00
Chris Leary
4b37828aec
Merge mozilla-central into tracemonkey.
2011-01-14 01:45:33 -08:00
Patrick Walton
ccc50844f4
Bug 624867 - Don't call MaybeGC() on every 20th script execution. r=jst a=blocking2.0:betaN+
2011-01-12 11:54:50 -08:00
Andreas Gal
fb7ccc9f25
Add API to enable/disable per-compartment GCs (bug 624229, r=shaver).
2011-01-09 22:57:21 -08:00
Gregor Wagner
3614636778
Enable per-compartment garbage collection (bug 605662, r=gal).
2011-01-07 23:44:57 -08:00
Blake Kaplan
fbfc5f0ad6
Fix bug 614151. r=jst@mozilla.com, a=blocker
2010-12-28 11:21:30 -08:00
L. David Baron
359fbe5e47
Backout changeset 0f1fd87b570d (bug 622326) on suspicion of causing bug 626100 (leak in a11y mochitests). CLOSED TREE
2011-01-15 12:31:57 -08:00
Paolo Amadini
403e4caa37
Bug 622326. If we still have script running when we want to clear our window scope, use a termination function, not a runnable, to wait for it to finish. r=bzbarsky, a=blocker
2011-01-14 21:14:41 -05:00
Chris Jones
1fa69fd283
Bug 616841, part 1: Refactor use of JSLocaleCallbacks to make them easier to share among various JSContexts. r=bz sr=mrbkap
2010-12-06 14:45:00 -06:00
Andreas Gal
b9019854fa
Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff).
2011-01-07 02:03:14 -08:00
Ben Turner
5f9dd9d69f
Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking.
2011-01-06 22:21:30 -08:00
Doug Turner
ff569fdddb
Bug 613551 - "JSGC_MAX_MALLOC_BYTES is too large on mobile" [r=jst] a=blocking-fennec
...
--HG--
extra : rebase_source : 5899ff657273a08bed317edadc3eeab090d94208
2010-12-02 14:38:00 -08:00
Olli Pettay
909dbcdbd8
Backout Bug 624549, a=backout
2011-01-13 11:03:25 +02:00
Olli Pettay
f2cfe8ded1
Bug 624549, don't always do a global gc before cc, r=gal, a=approved
...
--HG--
extra : rebase_source : 99fe0d8e28d339ca9680d048e20356eb10f8a29d
2011-01-12 22:44:41 +02:00
Phil Ringnalda
e1c5e8bb52
Bug 623105 - Back out 350fa5d366df on suspicion of breaking regress-290575.js on 64-bit, a=bustage
2011-01-04 21:00:17 -08:00