Closed Bug 1638276 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 23629 - sensors: Call GenericSensorTest.reset() in a cleanup function.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 23629 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/23629
Details from upstream follow.

Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> wrote:

sensors: Call GenericSensorTest.reset() in a cleanup function.

This addresses some of the flakiness in the sensors tests, in addition to
helping make it easier to find other sources of flakiness.

Instead of calling GenericSensorTest.reset() in a finally clause, use
t.add_cleanup() instead. The latter's behavior is more deterministic (see
https://github.com/web-platform-tests/wpt/pull/17924), and fixes an issue
where an EventWatcher would fail an assertion when receiving an unexpected
event, and GenericSensorTest.reset() would either not be called or called
after other tests had already started running.

Bug: 731018
Change-Id: Ifbb95b8067b153b70ecb3e6509f476164afd022e
Reviewed-on: https://chromium-review.googlesource.com/2203378
WPT-Export-Revision: d28129e8e28357381d69a9bc655a314e8a800a1f

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 30 tests and 44 subtests

Status Summary

Firefox

FAIL : 50
ERROR : 30
NOTRUN: 242

Chrome

PASS : 14
FAIL : 36
ERROR : 30
NOTRUN: 242

Safari

PASS : 1
FAIL : 49
ERROR : 30
NOTRUN: 242

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/orientation-event/device-orientation-events-unavailable-on-insecure-origins.html
Event interfaces and event handlers are not exposed on window.: FAIL

New Tests That Don't Pass

/orientation-sensor/RelativeOrientationSensor-iframe-access.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
RelativeOrientationSensor: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-event/orientation/add-listener-from-callback.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests that adding a new deviceorientation event listener from a callback works as expected.: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-sensor/AbsoluteOrientationSensor-iframe-access.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
AbsoluteOrientationSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/ambient-light/AmbientLightSensor.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
AmbientLightSensor: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
AmbientLightSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-event/device-orientation-events-unavailable-on-insecure-origins.html: ERROR (Chrome: ERROR, Safari: ERROR)
Event interfaces and event handlers are not exposed on window.: FAIL (Chrome: PASS, Safari: PASS)
addEventListener() for deviceorientationabsolute does not crash but the handler never fires.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
addEventListener() for devicemotion does not crash but the handler never fires.: FAIL (Chrome: FAIL, Safari: FAIL)
addEventListener() for deviceorientation does not crash but the handler never fires.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-event/orientation/basic-operation-absolute.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests basic operation of deviceorientationabsolute event using mock data.: FAIL (Chrome: FAIL, Safari: FAIL)
If UA can never provide absolute information, the event should be fired as a null event.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/proximity/ProximitySensor-iframe-access.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
ProximitySensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL (Chrome: FAIL, Safari: FAIL)
ProximitySensor: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-event/motion/null-values.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests using null values for some or all of the event properties.: FAIL (Chrome: FAIL, Safari: FAIL)
/proximity/ProximitySensor.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
ProximitySensor: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: FAIL, Safari: FAIL)
ProximitySensor: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
ProximitySensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
ProximitySensor: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-event/orientation/absolute-fallback.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests that deviceorientation falls back to using absolute orientation data if relative is unavailable.: FAIL (Chrome: FAIL, Safari: FAIL)
/geolocation-sensor/GeolocationSensor.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
GeolocationSensor: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: FAIL, Safari: FAIL)
GeolocationSensor: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
GeolocationSensor: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-event/motion/add-during-dispatch.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Test no fire listeners added during event dispatch.: FAIL (Chrome: FAIL, Safari: FAIL)
/magnetometer/Magnetometer-iframe-access.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Magnetometer: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: sensor is suspended and resumed when focus traverses from to cross-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL (Chrome: FAIL, Safari: FAIL)
UncalibratedMagnetometer: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-event/motion/multiple-event-listeners.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests using multiple event handlers for the Device Motion API.: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-event/orientation/updates.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests that updates to the orientation causes new events to fire.: FAIL (Chrome: FAIL, Safari: FAIL)
/accelerometer/Accelerometer.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
LinearAccelerationSensor: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that onerror is sent when sensor is not supported.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
LinearAccelerationSensor: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
GravitySensor: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: PASS, Safari: FAIL)
Accelerometer: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: PASS, Safari: FAIL)
LinearAccelerationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: sensor reading is correct when options.referenceFrame is 'screen'.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: sensor reading is correct when options.referenceFrame is 'screen'.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: FAIL, Safari: FAIL)
GravitySensor: Test that onerror is sent when sensor is not supported.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
LinearAccelerationSensor: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: FAIL, Safari: FAIL)
LinearAccelerationSensor: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: sensor reading is correct when options.referenceFrame is 'screen'.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/ambient-light/AmbientLightSensor-iframe-access.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
AmbientLightSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL (Chrome: FAIL, Safari: FAIL)
AmbientLightSensor: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AmbientLightSensor: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-event/orientation/multiple-event-listeners.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests using multiple event handlers for the Device Orientation API.: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-event/device-orientation-events-of-detached-documents.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Adding an event listener on the window of a detached document does not crash.: FAIL (Chrome: FAIL, Safari: FAIL)
/gyroscope/Gyroscope-iframe-access.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Gyroscope: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-event/orientation/basic-operation.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
If UA can never provide orientation information, the event should be fired as a null event.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Tests basic operation of deviceorientation event using mock data.: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-event/orientation/no-synchronous-events.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests that events are never fired synchronously from a call to window.addEventListener().: FAIL (Chrome: FAIL, Safari: FAIL)
/geolocation-sensor/GeolocationSensor-iframe-access.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
GeolocationSensor: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GeolocationSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-event/motion/add-listener-from-callback.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests that adding a new devicemotion event listener from a callback works as expected.: FAIL (Chrome: FAIL, Safari: FAIL)
/gyroscope/Gyroscope.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Gyroscope: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
Gyroscope: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
Gyroscope: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: PASS, Safari: FAIL)
Gyroscope: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: sensor reading is correct when options.referenceFrame is 'screen'.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Gyroscope: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/accelerometer/Accelerometer-iframe-access.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Accelerometer: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL (Chrome: FAIL, Safari: FAIL)
GravitySensor: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
GravitySensor: losing a document's frame with an active sensor does not crash: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Accelerometer: sensor is not suspended when focus traverses from to same-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
LinearAccelerationSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-sensor/RelativeOrientationSensor.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
RelativeOrientationSensor: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor.populateMatrix() method works correctly.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: sensor reading is correct when options.referenceFrame is 'screen'.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: PASS, Safari: FAIL)
RelativeOrientationSensor: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor.quaternion return a four-element FrozenArray.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
RelativeOrientationSensor: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
RelativeOrientationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-sensor/AbsoluteOrientationSensor.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
AbsoluteOrientationSensor: sensor reading is correct when options.referenceFrame is 'screen'.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
AbsoluteOrientationSensor.populateMatrix() method works correctly.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor.quaternion return a four-element FrozenArray.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: PASS, Safari: FAIL)
AbsoluteOrientationSensor: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
AbsoluteOrientationSensor: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/orientation-event/orientation/null-values.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Tests using null values for some of the event properties.: FAIL (Chrome: FAIL, Safari: FAIL)
/magnetometer/Magnetometer.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
UncalibratedMagnetometer: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
Magnetometer: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that fresh reading is fetched on start().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that frequency is capped to the maximum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: sensor reading is correct when options.referenceFrame is 'screen'.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: FAIL, Safari: FAIL)
Magnetometer: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
Magnetometer: sensor.start() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that 'onreading' is called and sensor reading is valid.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: sensor reading is correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: sensor reading is correct when options.referenceFrame is 'screen'.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: sensor receives suspend / resume notifications when cross-origin subframe is focused.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that frequency is capped to allowed maximum.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: no exception is thrown when calling stop() on already stopped sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that onerror is sent when permissions are not granted.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: sensor timestamp is updated when time passes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that frequency is limited to the minimum supported frequency.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: Test that onerror is sent when sensor is not supported.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that sensor can be successfully created and its states are correct.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that sensor can be constructed within an iframe allowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: sensor.stop() returns undefined.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: no exception is thrown when calling start() on already started sensor.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: FAIL, Safari: FAIL)
UncalibratedMagnetometer: Test that onerror is send when start() call has failed.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
UncalibratedMagnetometer: frequency hint works.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Magnetometer: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/36e9ef16af0c [wpt PR 23629] - sensors: Call GenericSensorTest.reset() in a cleanup function., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.