WPT
wpt / magnetometer / Magnetometer.https.html
Spec: Magnetometer ↗
Runs: Chrome 155.0.8039.0 (wpt@47d833bbc, 2026-09-03) | Firefox 157.0a1 (wpt@47d833bbc, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@e6996908b, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 20/38 | 2/38 | 2/38 | 2/38 | 2/38 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Magnetometer: Test that onerror is sent when permissions are not granted. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that onerror is send when start() call has failed. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that frequency is capped to allowed maximum. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that frequency is capped to the maximum supported frequency. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that frequency is limited to the minimum supported frequency. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that sensor cannot be constructed within iframe disallowed to use permissions policy. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that sensor can be constructed within an iframe allowed to use permissions policy. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that 'onreading' is called and sensor reading is valid. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: sensor reading is correct. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that readings are all mapped to expectedReadings correctly. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: sensor timestamp is updated when time passes. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that sensor can be successfully created and its states are correct. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: no exception is thrown when calling start() on already started sensor. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: no exception is thrown when calling stop() on already stopped sensor. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Test that fresh reading is fetched on start(). | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Readings are not delivered when the page has no visibility | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: frequency hint works. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: Readings delivered by shared platform sensor are immediately accessible to all sensors. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| Magnetometer: throw 'TypeError' if frequency is invalid. | PASS | PASS | PASS | PASS | PASS | — |
| UncalibratedMagnetometer: Test that onerror is sent when permissions are not granted. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that onerror is send when start() call has failed. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that frequency is capped to allowed maximum. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that frequency is capped to the maximum supported frequency. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that frequency is limited to the minimum supported frequency. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that sensor cannot be constructed within iframe disallowed to use permissions policy. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that sensor can be constructed within an iframe allowed to use permissions policy. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that 'onreading' is called and sensor reading is valid. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: sensor reading is correct. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that readings are all mapped to expectedReadings correctly. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: sensor timestamp is updated when time passes. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that sensor can be successfully created and its states are correct. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: no exception is thrown when calling start() on already started sensor. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: no exception is thrown when calling stop() on already stopped sensor. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Test that fresh reading is fetched on start(). | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Readings are not delivered when the page has no visibility | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: frequency hint works. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: Readings delivered by shared platform sensor are immediately accessible to all sensors. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| UncalibratedMagnetometer: throw 'TypeError' if frequency is invalid. | PASS | PASS | PASS | PASS | PASS | — |