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
threads/workerfactory;1. To create an instance, use:
var workerFactory = Components.classes['@mozilla.org/threads/workerfactory;1'] .createInstance(Components.interfaces.nsIWorkerFactory);
Returns a new
ChromeWorker that will run a specified script.
nsIWorker newChromeWorker( in DOMString aScriptURL );
- The URL of the script to load into the new worker.