author | James Willcox <snorp@snorp.net> |
Mon, 27 Oct 2014 14:10:59 -0500 | |
changeset 212490 | ec8dfce1693b0e673b171b58634c54b8d6e1d374 |
parent 212489 | 534160ed14fcd45dc0f26abbffccb2fc777993c9 |
child 212491 | 532df34a8482d12b362da4efd0e57fe716f02e60 |
push id | 27716 |
push user | kwierso@gmail.com |
push date | Tue, 28 Oct 2014 00:27:17 +0000 |
treeherder | mozilla-central@2042c38f13ae [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1080709 |
milestone | 36.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/mobile/android/components/FilePicker.js +++ b/mobile/android/components/FilePicker.js @@ -152,17 +152,18 @@ FilePicker.prototype = { return new File(f); }, get domfiles() { let win = this._domWin; return this.getEnumerator([this.file], function(file) { if (win) { - return new win.File(file); + let utils = win.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils); + return utils.wrapDOMFile(file); } return new File(file); }); }, get addToRecentDocs() { return this._addToRecentDocs;