Gyroscope: All Results

Test files: 9; Total subtests: 79

Test Files

  1. /gyroscope/Gyroscope-disabled-by-feature-policy.https.html
  2. /gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html
  3. /gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html
  4. /gyroscope/Gyroscope-enabled-by-feature-policy.https.html
  5. /gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html
  6. /gyroscope/Gyroscope.https.html
  7. /gyroscope/Gyroscope_insecure_context.html
  8. /gyroscope/idlharness.https.html
  9. /gyroscope/Gyroscope_onerror-manual.https.html
TestCA67CD67
/gyroscope/Gyroscope-disabled-by-feature-policy.https.htmlOKOK
Gyroscope: Feature-Policy header gyroscope 'none' disallows the top-level document.PASSPASS
Gyroscope: Feature-Policy header gyroscope 'none' disallows same-origin iframes.PASSPASS
Gyroscope: Feature-Policy header gyroscope 'none' disallows cross-origin iframes.PASSPASS
/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.htmlOKOK
Gyroscope: Feature-Policy allow='gyroscope' attribute allows same-origin relocationPASSPASS
Gyroscope: Feature-Policy allow='gyroscope' attribute disallows cross-origin relocationPASSPASS
/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.htmlOKOK
Gyroscope: Feature-Policy allow='gyroscope' attribute allows same-origin iframePASSPASS
Gyroscope: Feature-Policy allow='gyroscope' attribute allows cross-origin iframePASSPASS
/gyroscope/Gyroscope-enabled-by-feature-policy.https.htmlOKOK
Gyroscope: Feature-Policy header gyroscope * allows the top-level document.PASSPASS
Gyroscope: Feature-Policy header gyroscope * allows same-origin iframes.PASSPASS
Gyroscope: Feature-Policy header gyroscope * allows cross-origin iframes.PASSPASS
/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.htmlOKOK
Gyroscope: Feature-Policy header gyroscope 'self' allows the top-level document.PASSPASS
Gyroscope: Feature-Policy header gyroscope 'self' allows same-origin iframes.PASSPASS
Gyroscope: Feature-Policy header gyroscope 'self' disallows cross-origin iframes.PASSPASS
/gyroscope/Gyroscope.https.htmlOKOK
Gyroscope: Test that 'onreading' is called and sensor reading is validPASSPASS
Gyroscope: sensor reading is correctPASSPASS
Gyroscope: sensor timestamp is updated when time passesPASSPASS
Gyroscope: Test that sensor can be successfully created and its states are correct.PASSPASS
Gyroscope: sensor.start() returns undefinedPASSPASS
Gyroscope: no exception is thrown when calling start() on already started sensorPASSPASS
Gyroscope: sensor.stop() returns undefinedPASSPASS
Gyroscope: no exception is thrown when calling stop() on already stopped sensorPASSPASS
Gyroscope: Test that fresh reading is fetched on start()PASSPASS
Gyroscope: sensor readings can not be fired on the background tabPASSPASS
Gyroscope: frequency hint worksPASSPASS
Gyroscope: sensor receives suspend / resume notifications when cross-origin subframe is focusedPASSPASS
Gyroscope: throw 'NotSupportedError' for an unsupported sensor optionFAILFAIL
Gyroscope: throw 'TypeError' if frequency is invalidFAILFAIL
Gyroscope: sensor reading is correct when options.referenceFrame is 'screen'PASSPASS
Gyroscope: throw 'TypeError' if referenceFrame is not one of enumeration valuesFAILFAIL
/gyroscope/Gyroscope_insecure_context.htmlOKOK
Gyroscope is not exposed in an insecure contextPASSPASS
/gyroscope/idlharness.https.htmlOKOK
Test IDL implementation of Gyroscope 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
Gyroscope interface: existence and properties of interface objectPASSPASS
Gyroscope interface object lengthPASSPASS
Gyroscope interface object namePASSPASS
Gyroscope interface: existence and properties of interface prototype objectPASSPASS
Gyroscope interface: existence and properties of interface prototype object's "constructor" propertyPASSPASS
Gyroscope interface: existence and properties of interface prototype object's @@unscopables propertyPASSPASS
Gyroscope interface: attribute xPASSPASS
Unscopable handled correctly for x property on GyroscopePASSPASS
Gyroscope interface: attribute yPASSPASS
Unscopable handled correctly for y property on GyroscopePASSPASS
Gyroscope interface: attribute zPASSPASS
Unscopable handled correctly for z property on GyroscopePASSPASS
Gyroscope must be primary interface of new Gyroscope();PASSPASS
Stringification of new Gyroscope();PASSPASS
Gyroscope interface: new Gyroscope(); must inherit property "x" with the proper typePASSPASS
Gyroscope interface: new Gyroscope(); must inherit property "y" with the proper typePASSPASS
Gyroscope interface: new Gyroscope(); must inherit property "z" with the proper typePASSPASS
Sensor interface: new Gyroscope(); must inherit property "activated" with the proper typePASSPASS
Sensor interface: new Gyroscope(); must inherit property "hasReading" with the proper typePASSPASS
Sensor interface: new Gyroscope(); must inherit property "timestamp" with the proper typePASSPASS
Sensor interface: new Gyroscope(); must inherit property "start()" with the proper typePASSPASS
Sensor interface: new Gyroscope(); must inherit property "stop()" with the proper typePASSPASS
Sensor interface: new Gyroscope(); must inherit property "onreading" with the proper typePASSPASS
Sensor interface: new Gyroscope(); must inherit property "onactivate" with the proper typePASSPASS
Sensor interface: new Gyroscope(); must inherit property "onerror" with the proper typePASSPASS
/gyroscope/Gyroscope_onerror-manual.https.htmlOKOK
Gyroscope: 'onerror' event is fired when sensor is not supportedPASSPASS

Failure analysis:

  1. /gyroscope/Gyroscope.https.html:
    Subtests:
    • Gyroscope: throw 'NotSupportedError' for an unsupported sensor option:
      Not implemented, feature ID: #823223
    • Gyroscope: throw 'TypeError' if frequency is invalid
      Gyroscope: throw 'TypeError' if referenceFrame is not one of enumeration values:
      Bug: #823636