Accelerometer: All Results

Test files: 10; Total subtests: 133

Test Files

  1. /accelerometer/Accelerometer-disabled-by-feature-policy.https.html
  2. /accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html
  3. /accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html
  4. /accelerometer/Accelerometer-enabled-by-feature-policy.https.html
  5. /accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html
  6. /accelerometer/Accelerometer.https.html
  7. /accelerometer/Accelerometer_insecure_context.html
  8. /accelerometer/idlharness.https.html
  9. /accelerometer/Accelerometer_onerror-manual.https.html
  10. /accelerometer/LinearAccelerationSensor-shake-threshold-manual.https.html
TestCA67CD67
/accelerometer/Accelerometer-disabled-by-feature-policy.https.htmlOKOK
Accelerometer: Feature-Policy header accelerometer 'none' disallows the top-level document.PASSPASS
Accelerometer: Feature-Policy header accelerometer 'none' disallows same-origin iframes.PASSPASS
Accelerometer: Feature-Policy header accelerometer 'none' disallows cross-origin iframes.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer 'none' disallows the top-level document.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer 'none' disallows same-origin iframes.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer 'none' disallows cross-origin iframes.PASSPASS
/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.htmlOKOK
Accelerometer: Feature-Policy allow='accelerometer' attribute allows same-origin relocationPASSPASS
Accelerometer: Feature-Policy allow='accelerometer' attribute disallows cross-origin relocationPASSPASS
LinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute allows same-origin relocationPASSPASS
LinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute disallows cross-origin relocationPASSPASS
/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.htmlOKOK
Accelerometer: Feature-Policy allow='accelerometer' attribute allows same-origin iframePASSPASS
Accelerometer: Feature-Policy allow='accelerometer' attribute allows cross-origin iframePASSPASS
LinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute allows same-origin iframePASSPASS
LinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute allows cross-origin iframePASSPASS
/accelerometer/Accelerometer-enabled-by-feature-policy.https.htmlOKOK
Accelerometer: Feature-Policy header accelerometer * allows the top-level document.PASSPASS
Accelerometer: Feature-Policy header accelerometer * allows same-origin iframes.PASSPASS
Accelerometer: Feature-Policy header accelerometer * allows cross-origin iframes.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer * allows the top-level document.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer * allows same-origin iframes.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer * allows cross-origin iframes.PASSPASS
/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.htmlOKOK
Accelerometer: Feature-Policy header accelerometer 'self' allows the top-level document.PASSPASS
Accelerometer: Feature-Policy header accelerometer 'self' allows same-origin iframes.PASSPASS
Accelerometer: Feature-Policy header accelerometer 'self' disallows cross-origin iframes.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer 'self' allows the top-level document.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer 'self' allows same-origin iframes.PASSPASS
LinearAccelerationSensor: Feature-Policy header accelerometer 'self' disallows cross-origin iframes.PASSPASS
/accelerometer/Accelerometer.https.htmlOKOK
Accelerometer: Test that 'onreading' is called and sensor reading is validPASSPASS
Accelerometer: sensor reading is correctPASSPASS
Accelerometer: sensor timestamp is updated when time passesPASSPASS
Accelerometer: Test that sensor can be successfully created and its states are correct.PASSPASS
Accelerometer: sensor.start() returns undefinedPASSPASS
Accelerometer: no exception is thrown when calling start() on already started sensorPASSPASS
Accelerometer: sensor.stop() returns undefinedPASSPASS
Accelerometer: no exception is thrown when calling stop() on already stopped sensorPASSPASS
Accelerometer: Test that fresh reading is fetched on start()PASSPASS
Accelerometer: sensor readings can not be fired on the background tabPASSPASS
Accelerometer: frequency hint worksPASSPASS
Accelerometer: sensor receives suspend / resume notifications when cross-origin subframe is focusedPASSPASS
Accelerometer: throw 'NotSupportedError' for an unsupported sensor optionFAILFAIL
Accelerometer: throw 'TypeError' if frequency is invalidFAILFAIL
Accelerometer: sensor reading is correct when options.referenceFrame is 'screen'PASSPASS
Accelerometer: throw 'TypeError' if referenceFrame is not one of enumeration valuesFAILFAIL
/accelerometer/Accelerometer_insecure_context.htmlOKOK
Accelerometer is not exposed in an insecure contextPASSPASS
GravitySensor is not exposed in an insecure contextPASSPASS
LinearAccelerationSensor is not exposed in an insecure contextPASSPASS
/accelerometer/idlharness.https.htmlOKOK
Test IDL implementation of Accelerometer SensorPASSPASS
Sensor interface: existence and properties of interface objectPASSPASS
Sensor interface object lengthPASSPASS
Sensor interface object namePASSPASS
Sensor interface: existence and properties of interface prototype objectPASSPASS
Sensor interface: existence and properties of interface prototype object's "constructor" propertyPASSPASS
Sensor interface: existence and properties of interface prototype object's @@unscopables propertyPASSPASS
Sensor interface: attribute activatedPASSPASS
Unscopable handled correctly for activated property on SensorPASSPASS
Sensor interface: attribute hasReadingPASSPASS
Unscopable handled correctly for hasReading property on SensorPASSPASS
Sensor interface: attribute timestampPASSPASS
Unscopable handled correctly for timestamp property on SensorPASSPASS
Sensor interface: operation start()PASSPASS
Unscopable handled correctly for start() on SensorPASSPASS
Sensor interface: operation stop()PASSPASS
Unscopable handled correctly for stop() on SensorPASSPASS
Sensor interface: attribute onreadingPASSPASS
Unscopable handled correctly for onreading property on SensorPASSPASS
Sensor interface: attribute onactivatePASSPASS
Unscopable handled correctly for onactivate property on SensorPASSPASS
Sensor interface: attribute onerrorPASSPASS
Unscopable handled correctly for onerror property on SensorPASSPASS
Accelerometer interface: existence and properties of interface objectPASSPASS
Accelerometer interface object lengthPASSPASS
Accelerometer interface object namePASSPASS
Accelerometer interface: existence and properties of interface prototype objectPASSPASS
Accelerometer interface: existence and properties of interface prototype object's "constructor" propertyPASSPASS
Accelerometer interface: existence and properties of interface prototype object's @@unscopables propertyPASSPASS
Accelerometer interface: attribute xPASSPASS
Unscopable handled correctly for x property on AccelerometerPASSPASS
Accelerometer interface: attribute yPASSPASS
Unscopable handled correctly for y property on AccelerometerPASSPASS
Accelerometer interface: attribute zPASSPASS
Unscopable handled correctly for z property on AccelerometerPASSPASS
Accelerometer must be primary interface of new Accelerometer();PASSPASS
Stringification of new Accelerometer();PASSPASS
Accelerometer interface: new Accelerometer(); must inherit property "x" with the proper typePASSPASS
Accelerometer interface: new Accelerometer(); must inherit property "y" with the proper typePASSPASS
Accelerometer interface: new Accelerometer(); must inherit property "z" with the proper typePASSPASS
Sensor interface: new Accelerometer(); must inherit property "activated" with the proper typePASSPASS
Sensor interface: new Accelerometer(); must inherit property "hasReading" with the proper typePASSPASS
Sensor interface: new Accelerometer(); must inherit property "timestamp" with the proper typePASSPASS
Sensor interface: new Accelerometer(); must inherit property "start()" with the proper typePASSPASS
Sensor interface: new Accelerometer(); must inherit property "stop()" with the proper typePASSPASS
Sensor interface: new Accelerometer(); must inherit property "onreading" with the proper typePASSPASS
Sensor interface: new Accelerometer(); must inherit property "onactivate" with the proper typePASSPASS
Sensor interface: new Accelerometer(); must inherit property "onerror" with the proper typePASSPASS
LinearAccelerationSensor interface: existence and properties of interface objectPASSPASS
LinearAccelerationSensor interface object lengthPASSPASS
LinearAccelerationSensor interface object namePASSPASS
LinearAccelerationSensor interface: existence and properties of interface prototype objectPASSPASS
LinearAccelerationSensor interface: existence and properties of interface prototype object's "constructor" propertyPASSPASS
LinearAccelerationSensor interface: existence and properties of interface prototype object's @@unscopables propertyPASSPASS
LinearAccelerationSensor must be primary interface of new LinearAccelerationSensor();PASSPASS
Stringification of new LinearAccelerationSensor();PASSPASS
Accelerometer interface: new LinearAccelerationSensor(); must inherit property "x" with the proper typePASSPASS
Accelerometer interface: new LinearAccelerationSensor(); must inherit property "y" with the proper typePASSPASS
Accelerometer interface: new LinearAccelerationSensor(); must inherit property "z" with the proper typePASSPASS
Sensor interface: new LinearAccelerationSensor(); must inherit property "activated" with the proper typePASSPASS
Sensor interface: new LinearAccelerationSensor(); must inherit property "hasReading" with the proper typePASSPASS
Sensor interface: new LinearAccelerationSensor(); must inherit property "timestamp" with the proper typePASSPASS
Sensor interface: new LinearAccelerationSensor(); must inherit property "start()" with the proper typePASSPASS
Sensor interface: new LinearAccelerationSensor(); must inherit property "stop()" with the proper typePASSPASS
Sensor interface: new LinearAccelerationSensor(); must inherit property "onreading" with the proper typePASSPASS
Sensor interface: new LinearAccelerationSensor(); must inherit property "onactivate" with the proper typePASSPASS
Sensor interface: new LinearAccelerationSensor(); must inherit property "onerror" with the proper typePASSPASS
GravitySensor interface: existence and properties of interface objectFAILFAIL
GravitySensor interface object lengthFAILFAIL
GravitySensor interface object nameFAILFAIL
GravitySensor interface: existence and properties of interface prototype objectFAILFAIL
GravitySensor interface: existence and properties of interface prototype object's "constructor" propertyFAILFAIL
GravitySensor interface: existence and properties of interface prototype object's @@unscopables propertyFAILFAIL
GravitySensor must be primary interface of new GravitySensor();FAILFAIL
Stringification of new GravitySensor();FAILFAIL
Accelerometer interface: new GravitySensor(); must inherit property "x" with the proper typeFAILFAIL
Accelerometer interface: new GravitySensor(); must inherit property "y" with the proper typeFAILFAIL
Accelerometer interface: new GravitySensor(); must inherit property "z" with the proper typeFAILFAIL
Sensor interface: new GravitySensor(); must inherit property "activated" with the proper typeFAILFAIL
Sensor interface: new GravitySensor(); must inherit property "hasReading" with the proper typeFAILFAIL
Sensor interface: new GravitySensor(); must inherit property "timestamp" with the proper typeFAILFAIL
Sensor interface: new GravitySensor(); must inherit property "start()" with the proper typeFAILFAIL
Sensor interface: new GravitySensor(); must inherit property "stop()" with the proper typeFAILFAIL
Sensor interface: new GravitySensor(); must inherit property "onreading" with the proper typeFAILFAIL
Sensor interface: new GravitySensor(); must inherit property "onactivate" with the proper typeFAILFAIL
Sensor interface: new GravitySensor(); must inherit property "onerror" with the proper typeFAILFAIL
/accelerometer/Accelerometer_onerror-manual.https.htmlOKOK
Accelerometer: 'onerror' event is fired when sensor is not supportedPASSPASS
/accelerometer/LinearAccelerationSensor-shake-threshold-manual.https.htmlOKOK
Test that when shaking gesture along x axis of the device, the shake threshold can be greater than 25PASSFAIL

Failure analysis:

  1. /accelerometer/Accelerometer.https.html:
    Subtests:
    • Accelerometer: throw 'NotSupportedError' for an unsupported sensor option:
      Not implemented, feature ID: #823223
    • Accelerometer: throw 'TypeError' if frequency is invalid
      Accelerometer: throw 'TypeError' if referenceFrame is not one of enumeration values:
      Bug: #823636
  2. /accelerometer/idlharness.https.html:
    GravitySensor is not implemented at present
  3. /accelerometer/LinearAccelerationSensor-shake-threshold-manual.https.html:
    Expected result, this test targets for detecting shake gesture on moblie device