[scriptable, uuid(339a4eb5-dac6-4034-8c43-f4f8c645ce57)]
Attributes
Methods
Add an observer for all scripts loaded through this loader. @param aObserver observer for all script processing.
The loader maintains a strong reference to the document with which it is initialized. This call forces the reference to be dropped.
Gets the currently executing script. This is useful if you want to generate a unique key based on the currently executing script.
Initialize loader with a document. The container of this document
will be used for getting script evaluation information, including
the context in which to do the evaluation. The loader maintains a
strong reference to the document.
@param aDocument The document to use as the basis for script
processing.
Process a script element. This will include both loading the
source of the element if it is not inline and evaluating
the script itself.
@param aElement The element representing the script to be loaded and
evaluated.
@param aObserver An observer for this script load only
Remove an observer. @param aObserver observer to be removed
