Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassPermissions policy header "ch-ua-high-entropy-values=self" allows high-entropy values via getHighEntropyValues() in top-level document.
Asserts run
Pass
assert_own_property(object "[object Object]", "brands")
    at  /client-hints/permissions-policy/ch-ua-high-entropy-values-enabled-on-self-origin-by-permissions-policy.https.sub.html:16:11
Pass
assert_own_property(object "[object Object]", "mobile")
    at  /client-hints/permissions-policy/ch-ua-high-entropy-values-enabled-on-self-origin-by-permissions-policy.https.sub.html:17:11
Pass
assert_own_property(object "[object Object]", "platform")
    at  /client-hints/permissions-policy/ch-ua-high-entropy-values-enabled-on-self-origin-by-permissions-policy.https.sub.html:18:11
Pass
assert_own_property(object "[object Object]", "bitness")
    at  /client-hints/permissions-policy/ch-ua-high-entropy-values-enabled-on-self-origin-by-permissions-policy.https.sub.html:19:11
PassPermissions policy header "ch-ua-high-entropy-values=self" allows high-entropy values via getHighEntropyValues() in same-origin iframes.
Asserts run
Pass
assert_true(true, "navigator.userAgentData.getHighEntropyValues()")
    at expect_feature_available_default ( /permissions-policy/resources/permissions-policy.js:97:3)
FailPermissions policy header "ch-ua-high-entropy-values=self" disallows high-entropy values via getHighEntropyValues() in cross-origin iframes.assert_false: navigator.userAgentData.getHighEntropyValues() expected false got true
    at expect_feature_unavailable_default (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/permissions-policy/resources/permissions-policy.js:101:3)
    at Test.expectFeatureAvailable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/permissions-policy/resources/permissions-policy.js:73:7)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts run
Fail
assert_false(true, "navigator.userAgentData.getHighEntropyValues()")
    at expect_feature_unavailable_default ( /permissions-policy/resources/permissions-policy.js:101:3)