summaryrefslogtreecommitdiffstats
path: root/test/wpt/tests/fetch/fetch-later/non-secure.window.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wpt/tests/fetch/fetch-later/non-secure.window.js')
-rw-r--r--test/wpt/tests/fetch/fetch-later/non-secure.window.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/wpt/tests/fetch/fetch-later/non-secure.window.js b/test/wpt/tests/fetch/fetch-later/non-secure.window.js
new file mode 100644
index 0000000..2f2c3ea
--- /dev/null
+++ b/test/wpt/tests/fetch/fetch-later/non-secure.window.js
@@ -0,0 +1,8 @@
+// META: script=/resources/testharness.js
+// META: script=/resources/testharnessreport.js
+
+'use strict';
+
+test(() => {
+ assert_false(window.hasOwnProperty('fetchLater'));
+}, `fetchLater() is not supported in non-secure context.`);