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