third_party/WebKit/LayoutTests/external/wpt/wake-lock/wakelock-disabled-by-feature-policy.https.sub.html
fails as observed in,
https://chromium-review.googlesource.com/c/chromium/src/+/918062
Expected:
This is a testharness.js-based test.
PASS Feature-Policy header {"wake-lock" : []} disallows the top-level document.
PASS Feature-Policy header {"wake-lock" : []} disallows same-origin iframes.
PASS Feature-Policy header {"wake-lock" : []} disallows cross-origin iframes.
Observed:
This is a testharness.js-based test.
FAIL Feature-Policy header {"wake-lock" : []} disallows the top-level document. assert_unreached: Should have rejected: undefined Reached unreachable code
FAIL Feature-Policy header {"wake-lock" : []} disallows same-origin iframes. assert_false: navigator.getWakeLock("screen") expected false got true
FAIL Feature-Policy header {"wake-lock" : []} disallows cross-origin iframes. assert_false: navigator.getWakeLock("screen") expected false got true
|
Deleted:
wakelock-disabled-by-feature-policy.https.sub.html
1.1 KB
|
|
wakelock-disabled-by-feature-policy.https.sub.html
1.1 KB
View
Download
|
Comment 1 by reillyg@chromium.org
, Jul 11Status: Assigned (was: Untriaged)
Summary: wakelock-disabled-by-feature-policy.https.sub.html fails (was: Wake Lock Test fails when disabled by feature policy)