Code: Select all
var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
inside a worker, and it just doesn't work
Tried using chromeWorker also, but to no avail. All I'm trying to do is scan a folder in the background. Is there any alternate method to achieve this?
Thanks in advance