Closed Bug 1773946 Opened 4 months ago Closed 2 months ago

[wpt-sync] Sync PR 34387 - [ComputePressure] Make ComputePressure as a service.

Categories

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

task

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, 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:

  1. Move ComputePressureManager and related classes from
    content/browser to services/device. Rename ComputePressureManager
    to ComputePressureImpl.
  2. Rename ComputePressureHost to ComputePressureServiceImpl.
  3. 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.
  4. CpuProbe collects data only when there is active
    ComputePressureObserver. It stops collecting when all
    ComputePressureObservers become unactive.

Bug: 1205695, 1311945
Change-Id: I388ce2ea3d7be2e717c080d92c77b8d0b3570f03

Reviewed-on: https://chromium-review.googlesource.com/3661519
WPT-Export-Revision: 4793c6b5fde55325f335f81640276f46164bc3f5

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

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

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/b934ef33693a
[wpt PR 34387] - [ComputePressure] Make ComputePressure as a service., a=testonly
https://hg.mozilla.org/integration/autoland/rev/838da9274fda
[wpt PR 34387] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.