Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIScriptContextOwner Interface Reference

import "nsIScriptContextOwner.idl";

Inheritance diagram for nsIScriptContextOwner:
Inheritance graph
[legend]
Collaboration diagram for nsIScriptContextOwner:
Collaboration graph
[legend]

List of all members.

Public Member Functions

nsIScriptContext getScriptContext ()
 Returns a script context.
nsIScriptGlobalObject getScriptGlobalObject ()
 Returns the script global object.
void releaseScriptContext (in nsIScriptContext aContext)
 Called to indicate that the script context is no longer needed.
void reportScriptError (in string aErrorString, in string aFileName, in long aLineNo, in string aLineBuf)
 Error notification method.

Detailed Description

Definition at line 57 of file nsIScriptContextOwner.idl.


Member Function Documentation

Returns a script context.

The assumption is that the script context has an associated script global object and is ready for script evaluation.

Returns the script global object.

Called to indicate that the script context is no longer needed.

The caller should not also call the context's Release() method.

void nsIScriptContextOwner::reportScriptError ( in string  aErrorString,
in string  aFileName,
in long  aLineNo,
in string  aLineBuf 
)

Error notification method.

Informs the owner that an error occurred while a script was being evaluted.


The documentation for this interface was generated from the following file: