summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/entries-api/idlharness.window.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/entries-api/idlharness.window.js')
-rw-r--r--testing/web-platform/tests/entries-api/idlharness.window.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/entries-api/idlharness.window.js b/testing/web-platform/tests/entries-api/idlharness.window.js
new file mode 100644
index 0000000000..32527be514
--- /dev/null
+++ b/testing/web-platform/tests/entries-api/idlharness.window.js
@@ -0,0 +1,15 @@
+// META: script=/resources/WebIDLParser.js
+// META: script=/resources/idlharness.js
+
+'use strict';
+
+idl_test(
+ ['entries-api'],
+ ['FileAPI', 'html', 'dom'],
+ idl_array => {
+ idl_array.add_objects({
+ File: ['new File([], "example.txt")'],
+ HTMLInputElement: ['document.createElement("input")'],
+ });
+ }
+);