Closed Bug 1460825 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10962 - Fix partial issues from #10198

Categories

(Core :: DOM: Device Interfaces, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Wanming Lin <wanming.lin@intel.com> wrote:
>  Fix partial issues from #10198
>  
>   - `if (testRunner)` should be `if (window.testRunner)`
>   - Use String to pass sensor object param to avoid undefined error
PR 10962 applied with additional changes from upstream: b55a93ab1fa441d8998fcfb1173d00dab4b733c0
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Ran 13 tests and 64 subtests
OK     : 13
FAIL   : 64

New tests that have failures or other problems:
/ambient-light/AmbientLightSensor-disabled-by-feature-policy.https.html
    AmbientLightSensor: Feature-Policy header ambient-light-sensor 'none' disallows cross-origin iframes.: FAIL
    AmbientLightSensor: Feature-Policy header ambient-light-sensor 'none' disallows same-origin iframes.: FAIL
    AmbientLightSensor: Feature-Policy header ambient-light-sensor 'none' disallows the top-level document.: FAIL
/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html
    AmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute allows same-origin relocation: FAIL
    AmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute disallows cross-origin relocation: FAIL
/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute.https.html
    AmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute allows cross-origin iframe: FAIL
    AmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute allows same-origin iframe: FAIL
/ambient-light/AmbientLightSensor-enabled-by-feature-policy.https.html
    AmbientLightSensor: Feature-Policy header ambient-light-sensor * allows cross-origin iframes.: FAIL
    AmbientLightSensor: Feature-Policy header ambient-light-sensor * allows same-origin iframes.: FAIL
    AmbientLightSensor: Feature-Policy header ambient-light-sensor * allows the top-level document.: FAIL
/ambient-light/AmbientLightSensor-enabled-on-self-origin-by-feature-policy.https.html
    AmbientLightSensor: Feature-Policy header ambient-light-sensor 'self' allows same-origin iframes.: FAIL
    AmbientLightSensor: Feature-Policy header ambient-light-sensor 'self' allows the top-level document.: FAIL
    AmbientLightSensor: Feature-Policy header ambient-light-sensor 'self' disallows cross-origin iframes.: FAIL
/ambient-light/AmbientLightSensor.https.html
    AmbientLightSensor: Test that 'onreading' is called and sensor reading is valid: FAIL
    AmbientLightSensor: Test that fresh reading is fetched on start(): FAIL
    AmbientLightSensor: Test that sensor can be successfully created and its states are correct.: FAIL
    AmbientLightSensor: frequency hint works: FAIL
    AmbientLightSensor: no exception is thrown when calling start() on already started sensor: FAIL
    AmbientLightSensor: no exception is thrown when calling stop() on already stopped sensor: FAIL
    AmbientLightSensor: sensor reading is correct: FAIL
    AmbientLightSensor: sensor receives suspend / resume notifications when  cross-origin subframe is focused: FAIL
    AmbientLightSensor: sensor timestamp is updated when time passes: FAIL
    AmbientLightSensor: sensor.start() returns undefined: FAIL
    AmbientLightSensor: sensor.stop() returns undefined: FAIL
    AmbientLightSensor: throw 'TypeError' if frequency is invalid: FAIL
/geolocation-sensor/GeolocationSensor-disabled-by-feature-policy.https.html
    GeolocationSensor.read(): 'AbortError' takes priority: FAIL
    GeolocationSensor.read(): 'SecurityError' is thrown when disabled by Feature Policy: FAIL
    GeolocationSensor: Feature-Policy header geolocation 'none' disallows cross-origin iframes.: FAIL
    GeolocationSensor: Feature-Policy header geolocation 'none' disallows same-origin iframes.: FAIL
    GeolocationSensor: Feature-Policy header geolocation 'none' disallows the top-level document.: FAIL
/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html
    GeolocationSensor: Feature-Policy allow='geolocation' attribute allows same-origin relocation: FAIL
    GeolocationSensor: Feature-Policy allow='geolocation' attribute disallows cross-origin relocation: FAIL
/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute.https.html
    GeolocationSensor: Feature-Policy allow='geolocation' attribute allows cross-origin iframe: FAIL
    GeolocationSensor: Feature-Policy allow='geolocation' attribute allows same-origin iframe: FAIL
/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy.https.html
    GeolocationSensor: Feature-Policy header geolocation * allows cross-origin iframes.: FAIL
    GeolocationSensor: Feature-Policy header geolocation * allows same-origin iframes.: FAIL
    GeolocationSensor: Feature-Policy header geolocation * allows the top-level document.: FAIL
/geolocation-sensor/GeolocationSensor-enabled-on-self-origin-by-feature-policy.https.html
    GeolocationSensor: Feature-Policy header geolocation 'self' allows same-origin iframes.: FAIL
    GeolocationSensor: Feature-Policy header geolocation 'self' allows the top-level document.: FAIL
    GeolocationSensor: Feature-Policy header geolocation 'self' disallows cross-origin iframes.: FAIL
/geolocation-sensor/GeolocationSensor.https.html
    GeolocationSensor: Test that 'onreading' is called and sensor reading is valid: FAIL
    GeolocationSensor: Test that fresh reading is fetched on start(): FAIL
    GeolocationSensor: Test that sensor can be successfully created and its states are correct.: FAIL
    GeolocationSensor: frequency hint works: FAIL
    GeolocationSensor: no exception is thrown when calling start() on already started sensor: FAIL
    GeolocationSensor: no exception is thrown when calling stop() on already stopped sensor: FAIL
    GeolocationSensor: sensor reading is correct: FAIL
    GeolocationSensor: sensor receives suspend / resume notifications when  cross-origin subframe is focused: FAIL
    GeolocationSensor: sensor timestamp is updated when time passes: FAIL
    GeolocationSensor: sensor.start() returns undefined: FAIL
    GeolocationSensor: sensor.stop() returns undefined: FAIL
    GeolocationSensor: throw 'TypeError' if frequency is invalid: FAIL
/proximity/ProximitySensor.https.html
    ProximitySensor: Test that 'onreading' is called and sensor reading is valid: FAIL
    ProximitySensor: Test that fresh reading is fetched on start(): FAIL
    ProximitySensor: Test that sensor can be successfully created and its states are correct.: FAIL
    ProximitySensor: frequency hint works: FAIL
    ProximitySensor: no exception is thrown when calling start() on already started sensor: FAIL
    ProximitySensor: no exception is thrown when calling stop() on already stopped sensor: FAIL
    ProximitySensor: sensor reading is correct: FAIL
    ProximitySensor: sensor receives suspend / resume notifications when  cross-origin subframe is focused: FAIL
    ProximitySensor: sensor timestamp is updated when time passes: FAIL
    ProximitySensor: sensor.start() returns undefined: FAIL
    ProximitySensor: sensor.stop() returns undefined: FAIL
    ProximitySensor: throw 'TypeError' if frequency is invalid: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b88fdc1afd61
[wpt PR 10962] - Fix partial issues from #10198, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/d1eef99a610f
[wpt PR 10962] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/b88fdc1afd61
https://hg.mozilla.org/mozilla-central/rev/d1eef99a610f
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.