nsIFrameScriptLoader

Methods

loadFrameScript(aURL, aAllowDelayedLoad, aRunInGlobalScope)

Load a script in the (remote) frame. aURL must be the absolute URL.
data: URLs are also supported. For example data:,dump(“foo\n”);
If aAllowDelayedLoad is true, script will be loaded when the
remote frame becomes available. Otherwise the script will be loaded
only if the frame is already available.

removeDelayedFrameScript(aURL)

Removes aURL from the list of scripts which support delayed load.

getDelayedFrameScripts()

Returns all delayed scripts that will be loaded once a (remote)
frame becomes available. The return value is a list of pairs
[, ].