[scriptable, uuid(a94ec640-0bba-11d2-b326-00805f8a3859)]
interface nsIScriptContextOwner : nsISupports
Methods
Returns a script context. The assumption is that the script context has an associated script global object and is ready for script evaluation.
nsIScriptContext
getScriptContext()
Returns the script global object
nsIScriptGlobalObject
getScriptGlobalObject()
Called to indicate that the script context is no longer needed. The caller should <B>not</B> also call the context's Release() method.
void
releaseScriptContext(in nsIScriptContext aContext)
Error notification method. Informs the owner that an error occurred while a script was being evaluted.
void
reportScriptError(in string aErrorString, in string aFileName, in long aLineNo, in string aLineBuf)
Compare to: