mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9fdd626831
This makes it so the test works in e10s as well.
11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
Components.utils.importGlobalProperties(['File']);
|
|
|
|
addMessageListener("create-file-objects", function(message) {
|
|
let files = []
|
|
for (fileName of message.fileNames) {
|
|
files.push(new File(fileName));
|
|
}
|
|
|
|
sendAsyncMessage("created-file-objects", files);
|
|
});
|