[wpt-sync] Sync PR 35749 - compute pressure: Introducing pressure states
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox107 fixed)
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/a10b940a9d50fa3cc526d2b888afe6773d706b20Bug: 1306803, 1308316
Change-Id: I60dc2a8b789bdc7808e2629d67541cc6755ecbd1asd
Signed-off-by: Arnaud Mandy \<arnaud.mandy@intel.com>
Change-Id: Ic0d81593ad6e7daf04ec671a9aef56644394ed9eReviewed-on: https://chromium-review.googlesource.com/3865395
WPT-Export-Revision: 6ecec86767da11428f43d4bac839aab911fd5755
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
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
- /compute-pressure/compute_pressure_basic.tentative.https.window.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- An active PressureObserver calls its callback at least once:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Newly registered observer should get update:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- An active PressureObserver calls its callback at least once:
- /compute-pressure/compute_pressure_basic_async.tentative.https.window.html [wpt.fyi]
- Return NotSupportedError when calling observer():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Return SecurityError when calling observer():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Basic functionality test:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Removing observer before observe() resolves works:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Calling observe() multiple times works:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Return NotSupportedError when calling observer():
- /compute-pressure/compute_pressure_detached_iframe.tentative.https.html [wpt.fyi]
- PressureObserver.observe() on detached frame rejects:
FAIL
(Chrome:PASS
, Safari:FAIL
) - PressureObserver.disconnect() on detached frame returns:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Detaching frame while PressureObserver.observe() settles:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- PressureObserver.observe() on detached frame rejects:
- /compute-pressure/compute_pressure_disconnect.tentative.https.window.html [wpt.fyi]
- Stopped PressureObserver do not receive updates:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Stopped PressureObserver do not receive updates:
- /compute-pressure/compute_pressure_disconnect_idempotent.tentative.https.window.html [wpt.fyi]
- Stopped PressureObserver do not receive updates:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Stopped PressureObserver do not receive updates:
- /compute-pressure/compute_pressure_disconnect_immediately.tentative.https.window.html [wpt.fyi]:
OK
[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
[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview
] (Chrome:OK
, Safari:OK
)- Stopped PressureObserver do not receive updates:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Stopped PressureObserver do not receive updates:
- /compute-pressure/compute_pressure_multiple.tentative.https.window.html [wpt.fyi]
- Three PressureObserver instances receive updates:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Three PressureObserver instances receive updates:
- /compute-pressure/compute_pressure_multiple_across_iframes.tentative.https.window.html [wpt.fyi]
- Three PressureObserver instances, in different iframes, receive updates:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Three PressureObserver instances, in different iframes, receive updates:
- /compute-pressure/compute_pressure_observe_idempotent.tentative.https.window.html [wpt.fyi]
- PressureObserver.observe() is idempotent:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- PressureObserver.observe() is idempotent:
- /compute-pressure/compute_pressure_observe_unobserve_failure.tentative.https.window.html [wpt.fyi]
- PressureObserver.observe() requires a valid source:
FAIL
(Chrome:PASS
, Safari:FAIL
) - PressureObserver.unobserve() requires a valid source:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- PressureObserver.observe() requires a valid source:
- /compute-pressure/compute_pressure_take_records.tentative.https.window.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Calling takeRecords() before observe():
FAIL
(Chrome:PASS
, Safari:FAIL
) - takeRecords() returns empty record after callback invoke:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Calling takeRecords() before observe():
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5f0532c5202c
https://hg.mozilla.org/mozilla-central/rev/c385086f81ad
Description
•