jsdIContext
| IID: | a2dd25a4-1dd1-11b2-bda6-ed525acd4c35 |
| Inherits From: | jsdIEphemeral |
Constants
Properties
readonly jsdIValue globalObject
Top of the scope chain for this context.
readonly JSContext* JSContext
Context object. Only context's which are also nsISupports objects can be reflected by this interface.
PRUint32 options
OPT_* values above, OR'd together.
readonly nsISupports privateData
Private data for this context, if it is an nsISupports, null otherwise.
PRBool scriptsEnabled
True if this context should be allowed to run scripts, false otherwise. This attribute is only valid for contexts which implement nsIScriptContext. Setting or getting this attribute on any other context will throw a NS_ERROR_NO_INTERFACE exception.
readonly PRUint32 tag
Unique tag among all valid jsdIContext objects, useful as a hash key.
PRInt32 version
Last version set on this context. Scripts typically select this with the "language" attribute. See the VERSION_* consts on jsdIDebuggerService.
readonly nsISupports wrappedContext
Retrieve the underlying context wrapped by this jsdIContext.
References
This interface is the type of the following properties:
jsdIStackFrame.executionContext
This interface is passed as an argument to the following methods:
jsdIContextEnumerator.enumerateContext
Reference documentation is generated from Mozilla's source.
