blob: 969fb83a654f6c2b7fd02f146577b6cc7033183d [file] [log] [blame]
This is a testharness.js-based test.
FAIL Feature-Policy header wake-lock "self" allows the top-level document. promise_test: Unhandled rejection with value: object "NotAllowedError: Wake Lock permission request denied"
FAIL Feature-Policy header wake-lock "self" allows same-origin iframes. assert_true: navigator.wakeLock.request("screen") expected true got false
PASS Feature-Policy header wake-lock "self" disallows cross-origin iframes.
Harness: the test ran to completion.