summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/mochitest/mochitest-no-pref.toml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webgpu/mochitest/mochitest-no-pref.toml')
-rw-r--r--dom/webgpu/mochitest/mochitest-no-pref.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/webgpu/mochitest/mochitest-no-pref.toml b/dom/webgpu/mochitest/mochitest-no-pref.toml
new file mode 100644
index 0000000000..511b840c0b
--- /dev/null
+++ b/dom/webgpu/mochitest/mochitest-no-pref.toml
@@ -0,0 +1,10 @@
+[DEFAULT]
+subsuite = "webgpu"
+run-if = ["release_or_beta"]
+
+# Even if the pref were enabled, WebGPU is only available in secure contexts.
+#
+# See spec WebIDL, like this: https://www.w3.org/TR/webgpu/#navigatorgpu
+scheme = "https"
+
+["test_disabled.html"]