summaryrefslogtreecommitdiffstats
path: root/dom/power/tests/mochitest.toml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/power/tests/mochitest.toml')
-rw-r--r--dom/power/tests/mochitest.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/power/tests/mochitest.toml b/dom/power/tests/mochitest.toml
new file mode 100644
index 0000000000..0b57119a8a
--- /dev/null
+++ b/dom/power/tests/mochitest.toml
@@ -0,0 +1,9 @@
+[DEFAULT]
+prefs = ["dom.screenwakelock.enabled=true"]
+scheme = "https"
+
+["test_dynamic_pref_change.html"]
+fail-if = ["xorigin"] # cross-origin use requires permissions policy
+
+["test_wakelock_default_permission.html"]
+fail-if = ["xorigin"] # cross-origin use requires permissions policy