node/test/fixtures/wpt/FileAPI/idlharness.worker.js

18 lines
334 B
JavaScript

importScripts("/resources/testharness.js");
importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
'use strict';
// https://w3c.github.io/FileAPI/
idl_test(
['FileAPI'],
['dom', 'html', 'url'],
idl_array => {
idl_array.add_objects({
FileReaderSync: ['new FileReaderSync()']
});
}
);
done();