Hi,

I'm trying to figure out how to use it from a restartless addon. I'm
currently testing on developer edition v36a, but I'm also interested in
how things evolved since v30 for production code.

- contentWindow.File( fileName ) -> exception needs new
- new contentWindow.File( fileName ) -> exception NS_ERROR_FAILURE

As reported on
https://developer.mozilla.org/en-US/docs/Extensions/Using_the_DOM_File_API_in_chrome_code:

- const {File, Services} =
Cu.import('resource://gre/modules/Services.jsm', {});
-> Services.jsm clearly does not export a File object...?

any pointers welcome thanks
Naja Melan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to