mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b4659fa150
The bug 143220 test no longer attempts to read the chrome value property from the input elements, because that would use PBlob::GetFilePath which isn't allowed on B2G, and those checks aren't really necessary anymore.
7 lines
232 B
JavaScript
7 lines
232 B
JavaScript
const { classes: Cc, interfaces: Ci, utils: Cu } = Components;
|
|
Cu.importGlobalProperties(["File"]);
|
|
|
|
addMessageListener("files.open", function (message) {
|
|
sendAsyncMessage("files.opened", message.map(path => new File(path)));
|
|
});
|