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