Closed Bug 1467820 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 11426 - [sensors] Check that sensor frame and focused frame of same origin

Categories

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

enhancement

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alexander Shalamov <alexander.shalamov@intel.com> wrote:
>  [sensors] Check that sensor frame and focused frame of same origin
>  
>  In order to implement mitigation stragegy defined in [1], focused
>  frame and frame associated with the sensor should be of the same
>  origin.
>  
>  [1] https://www.w3.org/TR/generic-sensor/#focused-area
>  
>  Bug: 849501
>  Change-Id: I06fce4e66873cd98e59e45d00ffe27de8e7d66f9
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1087049
>  WPT-Export-Revision: d6062581dba49531c02e793778323dd779a527c5
Ran 55 tests and 260 subtests
OK     : 55
PASS   : 11
FAIL   : 249

New tests that have failures or other problems:
/accelerometer/Accelerometer-iframe-access.https.html
    Accelerometer: sensor is not suspended when focus traverses from to same-origin frame: FAIL
    Accelerometer: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL
    GravitySensor: sensor is not suspended when focus traverses from to same-origin frame: FAIL
    GravitySensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL
    LinearAccelerationSensor: sensor is not suspended when focus traverses from to same-origin frame: FAIL
    LinearAccelerationSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL
/gyroscope/Gyroscope-iframe-access.https.html
    Gyroscope: sensor is not suspended when focus traverses from to same-origin frame: FAIL
    Gyroscope: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL
/magnetometer/Magnetometer-iframe-access.https.html
    Magnetometer: sensor is not suspended when focus traverses from to same-origin frame: FAIL
    Magnetometer: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL
    UncalibratedMagnetometer: sensor is not suspended when focus traverses from to same-origin frame: FAIL
    UncalibratedMagnetometer: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL
/orientation-sensor/AbsoluteOrientationSensor-iframe-access.https.html
    AbsoluteOrientationSensor: sensor is not suspended when focus traverses from to same-origin frame: FAIL
    AbsoluteOrientationSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL
/orientation-sensor/RelativeOrientationSensor-iframe-access.https.html
    RelativeOrientationSensor: sensor is not suspended when focus traverses from to same-origin frame: FAIL
    RelativeOrientationSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/43251249cacb
[wpt PR 11426] - [sensors] Check that sensor frame and focused frame of same origin, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/cbbb092d298d
[wpt PR 11426] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/43251249cacb
https://hg.mozilla.org/mozilla-central/rev/cbbb092d298d
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.