-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1719151 [wpt PR 29576] - split FileAPI/idlharness tests into any.…
…js, a=testonly 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
- Loading branch information
1 parent
e525905
commit afd2e9c
Showing
3 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// 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()'] | ||
}); | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters