Closed Bug 1534569 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15731 - [idle] Restrict the Idle Detection API to top-level frames

Categories

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

enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ayu Ishii <ayui@chromium.org> wrote:

[idle] Restrict the Idle Detection API to top-level frames

Bug:936659
Change-Id: I0c83c29ec95cad25e9c35c339e46c79937654889

Reviewed-on: https://chromium-review.googlesource.com/1506815
WPT-Export-Revision: 285c667c707137fbaf8bc9e4a6af6a8329d47227

Ran 5 tests and 23 subtests
FAIL   : 5
TIMEOUT: 23

New tests that have failures or other problems:
/idle-detection/idle-detection-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html: TIMEOUT
    Attribute allow="idle-detection" in top-level frame allows same-origin relocation.: TIMEOUT
    Attribute allow="idle-detection" in top-level frame allows workers in same-origin relocation.: TIMEOUT
    Attribute allow="idle-detection" in top-level frame disallows cross-origin relocation.: TIMEOUT
    Attribute allow="idle-detection" in top-level frame disallows workers in cross-origin relocation.: TIMEOUT
/idle-detection/idle-detection-allowed-by-feature-policy-attribute.https.sub.html: TIMEOUT
    Attribute allow="idle-detection" in top-level frame can be enabled in a worker in cross-origin iframe using Feature policy "idle-detection".: TIMEOUT
    Attribute allow="idle-detection" in top-level frame can be enabled in a worker in same-origin iframe using Feature policy "idle-detection".: TIMEOUT
    Attribute allow="idle-detection" in top-level frame can be enabled in cross-origin iframe using Feature policy "idle-detection".: TIMEOUT
    Attribute allow="idle-detection" in top-level frame can be enabled in same-origin iframe using Feature policy "idle-detection".: TIMEOUT
/idle-detection/idle-detection-allowed-by-feature-policy.https.sub.html: TIMEOUT
    Feature-Policy {"idle-detection" : ["*"]} explicity set by top-level frame allows cross-origin iframes.: TIMEOUT
    Feature-Policy {"idle-detection" : ["*"]} explicity set by top-level frame allows same-origin iframes.: TIMEOUT
    Feature-Policy {"idle-detection" : ["*"]} explicity set by top-level frame allows the top-level document.: FAIL
    Feature-Policy {"idle-detection" : ["*"]} explicity set by top-level frame allows workers in cross-origin iframes.: TIMEOUT
    Feature-Policy {"idle-detection" : ["*"]} explicity set by top-level frame allows workers in same-origin iframes.: TIMEOUT
    Inherited header feature policy allows dedicated workers.: FAIL
/idle-detection/idle-detection-default-feature-policy.https.sub.html: TIMEOUT
    Default "idle-detection" feature policy ["self"] allows same-origin iframes.: TIMEOUT
    Default "idle-detection" feature policy ["self"] allows the top-level document.: FAIL
    Default "idle-detection" feature policy ["self"] disallows cross-origin iframes.: TIMEOUT
/idle-detection/idle-detection-disabled-by-feature-policy.https.sub.html: TIMEOUT
    Feature-Policy {"idle-detection" : []} explicitly set by top-level frame disallows cross-origin iframes.: TIMEOUT
    Feature-Policy {"idle-detection" : []} explicitly set by top-level frame disallows query in the top-level document.: FAIL
    Feature-Policy {"idle-detection" : []} explicitly set by top-level frame disallows same-origin iframes.: TIMEOUT
    Feature-Policy {"idle-detection" : []} explicitly set by top-level frame disallows workers in cross-origin iframes.: TIMEOUT
    Feature-Policy {"idle-detection" : []} explicitly set by top-level frame disallows workers in same-origin iframes.: TIMEOUT
    Inherited Feature-Policy header {"idle-detection" : []} disallows dedicated workers.: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/efb5d6396f3c
[wpt PR 15731] - [idle] Restrict the Idle Detection API to top-level frames, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/893f127c9be2
[wpt PR 15731] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.