MozillaZine

Using nsILocalFile in workers

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

Post Posted May 30th, 2011, 10:45 pm

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

Post Posted February 23rd, 2017, 9:04 am

have you found a solution for this ?

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 3 guests