nsIScriptLoaderObserver
| IID: | 7b787204-76fb-4764-96f1-fb7a666db4f4 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Methods
void scriptAvailable ( nsresult result , nsIScriptElement element , PRBool isInline , nsIURI URI , PRInt32 lineNo )
void scriptEvaluated ( nsresult result , nsIScriptElement element , PRBool isInline )
void scriptAvailable ( nsresult result , nsIScriptElement element , PRBool isInline , nsIURI URI , PRInt32 lineNo )
The script is available for evaluation. For inline scripts, this method will be called synchronously. For externally loaded scripts, this method will be called when the load completes.
- Arguments:
- result: A result code representing the result of loading a script. If this is a failure code, script evaluation will not occur.
- element: The element being processed.
- isInline: Is this an inline script or externally loaded?
- URI: What is the URI of the script (the document URI if it is inline).
- lineNo: At what line does the script appear (generally 1 if it is a loaded script).
void scriptEvaluated ( nsresult result , nsIScriptElement element , PRBool isInline )
The script has been evaluated.
- Arguments:
- result: A result code representing the success or failure of the script evaluation.
- element: The element being processed.
- isInline: Is this an inline script or externally loaded?
Reference documentation is generated from Mozilla's source.
