Commit Graph

51 Commits

Author SHA1 Message Date
Mark Capella
5b2f534388 Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst 2012-04-01 14:47:48 +02:00
Ms2ger
09e5acca2c Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst 2012-03-29 23:09:13 +02:00
Ms2ger
d1ba1fe158 Bug 734724 - Inline nsIScriptContext::ConnectToInner into its only caller; r=jst 2012-03-24 09:18:22 +01:00
Ms2ger
57b8d41a26 Bug 734029 - Move nsJSContext::{Set,Create}OuterObject to nsGlobalWindow; r=bholley 2012-03-24 09:18:21 +01:00
Ms2ger
fdc871b475 Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst 2012-03-11 09:51:22 +01:00
Ms2ger
a6baed04c8 Bug 734472 - Pass JSObject to nsIScriptContext::SetProperty; r=jst 2012-03-11 09:50:22 +01:00
Ms2ger
041916ca61 Bug 734468 - Make SetTerminationFunction return void; r=jst 2012-03-11 09:49:15 +01: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
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
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
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
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
Ms2ger
74b4dc066b Bug 698410 - Pass JSObject to nsIScriptContext::InitClasses; r=jmaher 2011-11-26 11:19:45 +01:00
Ms2ger
95876b8ee6 Bug 698408 - Pass JSObject to nsIScriptContext::SetOuterObject; r=jst 2011-11-26 11:19:15 +01:00
Ms2ger
b718e6bd76 Bug 698404 - Pass JSObject to nsIScriptContext::ConnectToInner; r=khuey 2011-11-26 11:18:28 +01:00
Ms2ger
d7ea3f6644 Bug 698395 - Give nsIScriptContext::CreateNativeGlobalForInner a JSObject outparam; r=peterv 2011-11-26 11:12:16 +01:00
Ms2ger
b744235be1 Bug 698394 - Pass JSObject handler to nsIScriptContext::BindCompiledEventHandler; r=sicking 2011-11-26 11:11:35 +01:00
Ms2ger
1404baaf43 Bug 698390 - Make nsIScriptContext::CallEventHandler take a JSObject handler parameter; r=sicking 2011-11-26 11:09:20 +01:00
Ms2ger
b6ae58dbc7 Bug 698389 - Give nsIScriptContext::CompileFunction a JSObject outparam; r=peterv 2011-11-26 11:08:42 +01:00
Ms2ger
b5a37a8757 Bug 698388 - Pass JSObject to nsIScriptContext::CompileFunction; r=sicking 2011-11-26 11:07:55 +01:00
Ms2ger
5c10d97f4e Bug 698380 - Give nsIScriptContext::EvaluateStringWithValue a JS::Value retval parameter; r=peterv 2011-11-16 08:50:20 +01:00
Ms2ger
34278535c8 Bug 698378 - Give nsIScriptContext::EvaluateStringWithValue a JSObject* scope parameter; r=peterv 2011-11-16 08:50:19 +01:00
Ms2ger
d58cd62735 Bug 696604 - Remove nsIScriptContext::CompileScript's aScopeObject parameter; r=peterv 2011-11-16 08:50:19 +01:00
Ms2ger
59007b3a67 Bug 696668 - Give nsIScriptContext::CallEventHandler a JSObject scope parameter; r=mrbkap 2011-10-29 22:19:03 +02:00
Ms2ger
94dc2deff1 Bug 696666 - Give nsIScriptContext::BindCompiledEventHandler a JSObject scope parameter; r=jst 2011-10-29 22:18:21 +02:00
Ms2ger
49f6daff60 Bug 694867 - Part f: Pass a JSScript to nsIScriptContext::ExecuteScript; r=volkmar 2011-10-29 22:15:43 +02:00
Ms2ger
6bc6ac23b6 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
080153d676 Bug 694838 - Make nsIScriptContext::EvaluateString's second parameter a JSObject; r=volkmar 2011-10-29 22:11:51 +02:00
Ms2ger
44bd9f9103 Bug 694781 - Make nsIScriptContext::ExecuteScript's second parameter a JSObject; r=volkmar 2011-10-29 22:10:49 +02:00
Ms2ger
c450947f2e Bug 694763 - Remove nsIScriptContext::DidSetDocument; r=jst 2011-10-29 22:06:42 +02:00
Ms2ger
2da2151a18 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Ehsan Akhgari
2a602a5685 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
Michael Wu
d8e503c38b 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
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Boris Zbarsky
8bdd1a64af 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
Blake Kaplan
0e7a7f5511 bug 580128 - Create a proxy for the outer window and use it. Note: this turns on new wrappers for all objects. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
28169c5f95 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Luke Wagner
ed7ada6b7e Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Blake Kaplan
3e81f7fd38 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Blake Kaplan
44fa338e2b Bug 575795 - Clean up the nsIScriptContext interface to the global object to be able to split the work that nsIScriptContext::InitContext does out. r=jst 2010-07-15 15:16:29 -07:00
Olli Pettay
078f01ee1d Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Blake Kaplan
2c89f91972 Bug 520386. Don't clear scope while executing code in that scope. r=bzbarsky@mit.edu, sr=jst@mozilla.org 2009-11-19 15:11:44 -08:00
Jonas Sicking
68ee329da3 Bug 492560: Prevent modal dialogs from making the slow-script dialog coming up. r/sr=mrbkap 2009-06-11 17:52:47 -07:00