Closed Bug 1737087 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31348 - idle: Move threshold handing into the renderer process

Categories

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

task

Tracking

(firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Reilly Grant <reillyg@chromium.org> wrote:

idle: Move threshold handing into the renderer process

This change refactors the Mojo interface used to implement the Idle
Detection API so that handling the threshold specified by script is
handled by the renderer process. This means the browser doesn't have to
manage the individual threshold requests for each IdleDetector instance.

Bug: 939870
Change-Id: I20e967150e4d0730f4ac1a09de294a19ac58073a
Reviewed-on: https://chromium-review.googlesource.com/3235854
WPT-Export-Revision: 6157771b7c0be526b785d88c585a331104e3ddfa

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 8 subtests

Status Summary

Firefox

ERROR : 1
NOTRUN : 8

Chrome

PASS : 4
FAIL : 3
TIMEOUT: 2

Safari

ERROR : 1
NOTRUN : 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/idle-detection/interceptor.https.html: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: TIMEOUT, Safari: ERROR)
start(): NOTRUN (Chrome: PASS, Safari: NOTRUN)
updates once: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
updates twice: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
locked screen: NOTRUN (Chrome: PASS, Safari: NOTRUN)
IdleDetector.onchange: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Safe to call start() or stop() multiple times: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
Calling stop() after start() is a no-op: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Calling start() after stop(): re-starting monitor.: NOTRUN (Chrome: TIMEOUT, Safari: NOTRUN)

Tests Disabled in Gecko Infrastructure

/idle-detection/interceptor.https.html: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: TIMEOUT, Safari: ERROR)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b0abdff4292 [wpt PR 31348] - idle: Move threshold handing into the renderer process, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.