Created
March 28, 2017 15:15
-
-
Save k-hamada/566e0adfc00b28fb091217d8b8ab32cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git xpi/chrome/content/library/utility.js xpi/chrome/content/library/utility.js | |
index 180c382..9520b19 100755 | |
--- xpi/chrome/content/library/utility.js | |
+++ xpi/chrome/content/library/utility.js | |
@@ -872,7 +872,7 @@ function simpleRequest(url, opt) { | |
if (file instanceof IFile) { | |
// https://developer.mozilla.org/en-US/docs/Extensions/Using_the_DOM_File_API_in_chrome_code | |
- file = sendContent[key] = new File(file); | |
+ file = sendContent[key] = File.createFromNsIFile(file); | |
} | |
if (file instanceof File) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://bugzilla.mozilla.org/show_bug.cgi?id=1303518