nsIScriptLoaderObserver

Methods

scriptAvailable(aResult, aElement, aIsInline, aURI, aLineNo)

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.

Parameters

aResult A result code representing the result of loading a script. If this is a failure code, script evaluation will not occur.
aElement The element being processed.
aIsInline Is this an inline script or externally loaded?
aURI What is the URI of the script (the document URI if it is inline).
aLineNo At what line does the script appear (generally 1 if it is a loaded script).

scriptEvaluated(aResult, aElement, aIsInline)

The script has been evaluated.

Parameters

aResult A result code representing the success or failure of the script evaluation.
aElement The element being processed.
aIsInline Is this an inline script or externally loaded?