forked from mirrors/gecko-dev
Automatic update from web-platform-tests split FileAPI/idlharness tests into any.js (#29576) * split FileAPI/idlharness tests into any.js -- wpt-commits: 3572a3815407c62261f1a28dc3b16ff54c0cb865 wpt-pr: 29576
19 lines
399 B
JavaScript
19 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()']
|
|
});
|
|
}
|
|
);
|