mirror of https://github.com/nodejs/node.git
20 lines
399 B
JavaScript
20 lines
399 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
// META: timeout=long
|
|
|
|
'use strict';
|
|
|
|
// https://w3c.github.io/FileAPI/
|
|
|
|
idl_test(
|
|
['FileAPI'],
|
|
['dom', 'html', 'url'],
|
|
idl_array => {
|
|
idl_array.add_objects({
|
|
Blob: ['new Blob(["TEST"])'],
|
|
File: ['new File(["myFileBits"], "myFileName")'],
|
|
FileReader: ['new FileReader()']
|
|
});
|
|
}
|
|
);
|