summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/screen-wake-lock/wakelock-disabled-by-permissions-policy.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/screen-wake-lock/wakelock-disabled-by-permissions-policy.https.html')
-rw-r--r--testing/web-platform/tests/screen-wake-lock/wakelock-disabled-by-permissions-policy.https.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/web-platform/tests/screen-wake-lock/wakelock-disabled-by-permissions-policy.https.html b/testing/web-platform/tests/screen-wake-lock/wakelock-disabled-by-permissions-policy.https.html
index 354b0a5e15..fd1e6db656 100644
--- a/testing/web-platform/tests/screen-wake-lock/wakelock-disabled-by-permissions-policy.https.html
+++ b/testing/web-platform/tests/screen-wake-lock/wakelock-disabled-by-permissions-policy.https.html
@@ -25,7 +25,8 @@
'navigator.wakeLock.request("screen")',
t,
same_origin_src,
- expect_feature_unavailable_default
+ expect_feature_unavailable_default,
+ 'screen-wake-lock',
);
}, `${header} disallows same-origin iframes.`);
@@ -34,7 +35,8 @@
'navigator.wakeLock.request("screen")',
t,
cross_origin_src,
- expect_feature_unavailable_default
+ expect_feature_unavailable_default,
+ 'screen-wake-lock'
);
}, `${header} disallows cross-origin iframes.`);
</script>