[wpt-sync] Sync PR 34387 - [ComputePressure] Make ComputePressure as a service.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox104 fixed)
| Tracking | Status | |
|---|---|---|
| firefox104 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream error])
Sync web-platform-tests PR 34387 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/34387
Details from upstream follow.
Wei4 Wang <wei4.wang@intel.com> wrote:
[ComputePressure] Make ComputePressure as a service.
The patch makes ComputePressure as a service and the major
changes are:
- Move ComputePressureManager and related classes from
content/browser to services/device. Rename ComputePressureManager
to ComputePressureImpl.- Rename ComputePressureHost to ComputePressureServiceImpl.
- ComputePressureSample data are collected in service now and then
sent to ComputePressureServiceImpl. If the data changes and meets
frequency requirement, ComputePressureServiceImpl will sent the
data to blink.- CpuProbe collects data only when there is active
ComputePressureObserver. It stops collecting when all
ComputePressureObservers become unactive.Bug: 1205695, 1311945
Change-Id: I388ce2ea3d7be2e717c080d92c77b8d0b3570f03Reviewed-on: https://chromium-review.googlesource.com/3661519
WPT-Export-Revision: 4793c6b5fde55325f335f81640276f46164bc3f5
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
PASS: 1
FAIL: 4
Chrome
OK : 2
PASS: 4
FAIL: 1
Links
Details
New Tests That Don't Pass
- /compute-pressure/compute_pressure_detached_iframe.tentative.https.html [wpt.fyi]
- ComputePressureObserver.observe() on detached frame rejects:
FAIL(Chrome:FAIL) - ComputePressureObserver.stop() on detached frame returns:
FAIL(Chrome:PASS) - Detaching frame while ComputePressureObserver.observe() settles:
FAIL(Chrome:PASS)
- ComputePressureObserver.observe() on detached frame rejects:
- /compute-pressure/compute_pressure_different_quantizations.tentative.https.window.html [wpt.fyi]
- ComputePressureObserver with a new quantization schema stops all other active observers in the same frame:
FAIL(Chrome:PASS)
- ComputePressureObserver with a new quantization schema stops all other active observers in the same frame:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b934ef33693a
https://hg.mozilla.org/mozilla-central/rev/838da9274fda
Description
•