Accelerometer Feature Policy Test: Enabled by attribute redirect on load

Summary

Harness status: OK

Found 6 tests

Details

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