Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
This method should only be called from JS! In JS, the signature looks like: rv loadSubScript (url [, obj] [, charset]);
rv the value returned by the sub-script
the url of the UTF-8-encoded sub-script, it MUST be either a file:, resource:, blob:, or chrome: url, and MUST be local.
an optional object to evaluate the script onto, it defaults to the global object of the caller.
This method should only be called from JS! In JS, the signature looks like: rv = loadSubScript (url, optionsObject)
rv the value returned by the sub-script
the url of the UTF-8-encoded sub-script, which MUST be either a file:, resource:, blob:, or chrome: url, and MUST be local.
Generated using TypeDoc
Interface for synchronous script loads from local file: or jar: sources. For asynchronous script loads, ChromeUtils.compileScript() should be used instead.