Hi,

In Firefox 51 chrome code, this code works: `new File(path_to_file)` , if `path_to_file` exists.

However in Firefox 52a (2016-11-22),an execption is thrown: "TypeError: Not enough arguments to File".

I don't see a deprecation or removing note in the dev-doc[1], what's the problem?

Thanks.


[1] https://developer.mozilla.org/en-US/docs/Extensions/Using_the_DOM_File_API_in_chrome_code


_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to