Gyroscope Feature Policy Test: Enabled by attribute redirect on load

Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassGyroscope: Feature-Policy allow='gyroscope' attribute allows same-origin relocation
Asserts run
Pass
assert_implements(true, "Gyroscope is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:123:5)
Pass
assert_true(true, "'new Gyroscope()'")
    at expect_feature_available_default ( /feature-policy/resources/featurepolicy.js:57:3)
PassGyroscope: Feature-Policy allow='gyroscope' attribute disallows cross-origin relocation
Asserts run
Pass
assert_implements(true, "Gyroscope is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:134:5)
Pass
assert_false(false, "'new Gyroscope()'")
    at expect_feature_unavailable_default ( /feature-policy/resources/featurepolicy.js:61:3)