nsIScriptContextOwner

IID:A94EC640-0BBA-11D2-B326-00805F8A3859
Inherits From:nsISupports

Methods

nsIScriptContext getScriptContext ( ) nsIScriptGlobalObject getScriptGlobalObject ( ) void releaseScriptContext ( nsIScriptContext context ) void reportScriptError ( char* errorString , char* fileName , PRInt32 lineNo , char* lineBuf )

nsIScriptContext getScriptContext ( )

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


nsIScriptGlobalObject getScriptGlobalObject ( )

Returns the script global object


void releaseScriptContext ( nsIScriptContext context )

Called to indicate that the script context is no longer needed. The caller should not also call the context's Release() method.

Arguments:
context

void reportScriptError ( char* errorString , char* fileName , PRInt32 lineNo , char* lineBuf )

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

Arguments:
errorString
fileName
lineNo
lineBuf

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com