Click here to download the Blitz Browser!

WPT

wpt / ambient-light / AmbientLightSensor.https.html

Spec: Ambient Light Sensor ↗

Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total19/191/191/191/191/19NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
AmbientLightSensor: Test that onerror is sent when permissions are not granted.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that onerror is send when start() call has failed.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that frequency is capped to allowed maximum.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that frequency is capped to the maximum supported frequency.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that frequency is limited to the minimum supported frequency.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that sensor cannot be constructed within iframe disallowed to use permissions policy.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that sensor can be constructed within an iframe allowed to use permissions policy.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that 'onreading' is called and sensor reading is valid.PASSFAILFAILFAILFAIL
AmbientLightSensor: sensor reading is correct.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that readings are all mapped to expectedReadings correctly.PASSFAILFAILFAILFAIL
AmbientLightSensor: sensor timestamp is updated when time passes.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that sensor can be successfully created and its states are correct.PASSFAILFAILFAILFAIL
AmbientLightSensor: no exception is thrown when calling start() on already started sensor.PASSFAILFAILFAILFAIL
AmbientLightSensor: no exception is thrown when calling stop() on already stopped sensor.PASSFAILFAILFAILFAIL
AmbientLightSensor: Test that fresh reading is fetched on start().PASSFAILFAILFAILFAIL
AmbientLightSensor: Readings are not delivered when the page has no visibilityPASSFAILFAILFAILFAIL
AmbientLightSensor: frequency hint works.PASSFAILFAILFAILFAIL
AmbientLightSensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.PASSFAILFAILFAILFAIL
AmbientLightSensor: throw 'TypeError' if frequency is invalid.PASSPASSPASSPASSPASS