AmbientLightSensor Feature Policy Test: Enabled by attribute redirect on load

Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
FailAmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute allows same-origin relocationassert_implements: AmbientLightSensor is not supported. undefined
    at Test.<anonymous> (https://www1.wpt.live/generic-sensor/generic-sensor-feature-policy-test.sub.js:123:5)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at async_test (https://www1.wpt.live/resources/testharness.js:681:34)
    at run_fp_tests_enabled_by_attribute_redirect_on_load (https://www1.wpt.live/generic-sensor/generic-sensor-feature-policy-test.sub.js:122:3)
    at https://www1.wpt.live/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html:11:1
Asserts run
Fail
assert_implements(false, "AmbientLightSensor is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:123:5)
FailAmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute disallows cross-origin relocationassert_implements: AmbientLightSensor is not supported. undefined
    at Test.<anonymous> (https://www1.wpt.live/generic-sensor/generic-sensor-feature-policy-test.sub.js:134:5)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at async_test (https://www1.wpt.live/resources/testharness.js:681:34)
    at run_fp_tests_enabled_by_attribute_redirect_on_load (https://www1.wpt.live/generic-sensor/generic-sensor-feature-policy-test.sub.js:133:3)
    at https://www1.wpt.live/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html:11:1
Asserts run
Fail
assert_implements(false, "AmbientLightSensor is not supported.")
    at Test.<anonymous> ( /generic-sensor/generic-sensor-feature-policy-test.sub.js:134:5)