Accelerometer Feature Policy Test: Enabled by attribute

Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PassAccelerometer: Feature-Policy allow='accelerometer' attribute allows same-origin iframe
Asserts run
Pass
assert_implements(true, "Accelerometer is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:95: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 allows cross-origin iframe
Asserts run
Pass
assert_implements(true, "Accelerometer is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:106:5)
Pass
assert_true(true, "'new Accelerometer()'")
    at expect_feature_available_default ( /feature-policy/resources/featurepolicy.js:57:3)
PassLinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute allows same-origin iframe
Asserts run
Pass
assert_implements(true, "LinearAccelerationSensor is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:95: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 allows cross-origin iframe
Asserts run
Pass
assert_implements(true, "LinearAccelerationSensor is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:106:5)
Pass
assert_true(true, "'new LinearAccelerationSensor()'")
    at expect_feature_available_default ( /feature-policy/resources/featurepolicy.js:57:3)
PassGravitySensor: Feature-Policy allow='accelerometer' attribute allows same-origin iframe
Asserts run
Pass
assert_implements(true, "GravitySensor is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:95: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 allows cross-origin iframe
Asserts run
Pass
assert_implements(true, "GravitySensor is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:106:5)
Pass
assert_true(true, "'new GravitySensor()'")
    at expect_feature_available_default ( /feature-policy/resources/featurepolicy.js:57:3)