Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassDefault "battery" permissions policy allows the top-level document.
Asserts runNo asserts ran
PassDefault "battery" permissions policy allows same-origin iframes.
Asserts run
Pass
assert_true(true, "navigator.getBattery()")
    at expect_feature_available_default ( /permissions-policy/resources/permissions-policy.js:97:3)
FailDefault "battery" permissions policy disallows cross-origin iframes.assert_false: navigator.getBattery() expected false got true
    at expect_feature_unavailable_default (https://www1.wpt.live/permissions-policy/resources/permissions-policy.js:101:3)
    at Test.expectFeatureAvailable (https://www1.wpt.live/permissions-policy/resources/permissions-policy.js:73:7)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:2689:35
Asserts run
Fail
assert_false(true, "navigator.getBattery()")
    at expect_feature_unavailable_default ( /permissions-policy/resources/permissions-policy.js:101:3)