Using nsILocalFile in workers

Talk about add-ons and extension development.
Post Reply
karthik_k
Posts: 1
Joined: May 30th, 2011, 10:36 pm

Using nsILocalFile in workers

Post by karthik_k »

Hi, I'm trying to use

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
poleta33
Posts: 120
Joined: October 14th, 2004, 2:06 pm

Re: Using nsILocalFile in workers

Post by poleta33 »

have you found a solution for this ?
Post Reply