Closed Bug 1788772 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 35749 - compute pressure: Introducing pressure states

Categories

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

task

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Arnaud Mandy <arnaud.mandy@intel.com> wrote:

compute pressure: Introducing pressure states

As described in [1], compute pressure is using pressure states
instead of quantized value of cpu_utilization and bucketing.

This patch is implementing the following:

  • Removing the quantization of cpu_utilization, bucketing
    and instead is replacing cpu_utilization value with a pressure
    state.
  • A timestamp is retrieved and passed to the webAPI as defined
    in [2]
  • This patch allows the PressureObserverManager to register more
    than one observer at a time because the quantization scheme is not
    in use anymore, and all observers observing should receive updates.

[1] https://github.com/WICG/compute-pressure/commit/e3da844ddb2a9bf5d8c86ab561f62bf666ed6d27
[2] https://github.com/WICG/compute-pressure/commit/a10b940a9d50fa3cc526d2b888afe6773d706b20

Bug: 1306803, 1308316
Change-Id: I60dc2a8b789bdc7808e2629d67541cc6755ecbd1

asd

Signed-off-by: Arnaud Mandy \<arnaud.mandy@intel.com>
Change-Id: Ic0d81593ad6e7daf04ec671a9aef56644394ed9e

Reviewed-on: https://chromium-review.googlesource.com/3865395
WPT-Export-Revision: 6ecec86767da11428f43d4bac839aab911fd5755

PR 35749 applied with additional changes from upstream: 55ad1ef98f411b7212d70cd0c7f783f7b8c8636b
PR 35749 applied with additional changes from upstream: 00f3dc140f7da496ea0027f36eec0733fa3f9b2c
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 11 tests and 2 subtests

Status Summary

Firefox

OK : 8[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] 9[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-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub]
PASS : 1
FAIL : 17[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] 18[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-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub]
TIMEOUT: 2[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-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub] 3[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview]
ERROR : 2

Chrome

OK : 11
PASS : 7
FAIL : 14

Safari

OK : 9
PASS : 1
FAIL : 18
TIMEOUT: 2
ERROR : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5f0532c5202c [wpt PR 35749] - compute pressure: Replace quantization with pressure states, a=testonly https://hg.mozilla.org/integration/autoland/rev/c385086f81ad [wpt PR 35749] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.