Worker
nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)This interface was removed in Gecko 8.0. You don't need to use it anymore to create workers from chrome. Instead, you can just do new Worker
or new ChromeWorker
.
Implemented by: threads/workerfactory;1
. To create an instance, use:
var workerFactory = Components.classes['@mozilla.org/threads/workerfactory;1'] .createInstance(Components.interfaces.nsIWorkerFactory);
nsIWorker newChromeWorker(in DOMString aScriptURL); |
Returns a new ChromeWorker
that will run a specified script.
nsIWorker newChromeWorker( in DOMString aScriptURL );
aScriptURL
An nsIWorker
object representing the new ChromeWorker
.