[wpt-sync] Sync PR 28321 - Compute-Pressure: Observer API and Null Backend
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28321 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28321
Details from upstream follow.
b'Olivier Yiptong <oyiptong@chromium.org>' wrote:
Compute-Pressure: Observer API and Null Backend
This implements the initial Compute Pressure API with an observer that
updates frequently with compute information.The backend infrastructure has been implemented with platform
specific backends coming up in upcoming CLs.This change includes two security mitigations:
- only observers belonging to the main frame get updated
- only observers belonging to the presently focused window / tab get
updatedThe latter security mitigation is tested manually.
Bug: 1183600
Change-Id: I720586cf2a7c8264a4751fa477cf27fafe37d051
Reviewed-on: https://chromium-review.googlesource.com/2795905
WPT-Export-Revision: f100c4cb2908a407b462090966f55c6b0313c38d
| Assignee | ||
Updated•1 year ago
|
Description
•