Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compute pressure: Adding supportedSources to API
To match existing observers API, supportedSources read-only property has been added to the Compute Pressure interface. https://wicg.github.io/compute-pressure/#the-supportedsources-attribute It returns an array of supportedSource values supported by the user agent. As the list of supported sources may vary per browser and will be evolving, this property allows web developers to check which are available. This patch doesn't affect the functionality of compute pressure. Bug: 1292466 Change-Id: Ie1822dd90dcc4027624fc56d80424e6ea5484da1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3424278 Reviewed-by: Kentaro Hara <[email protected]> Reviewed-by: Fr <[email protected]> Reviewed-by: Raphael Kubo Da Costa <[email protected]> Reviewed-by: Joshua Bell <[email protected]> Commit-Queue: Arnaud Mandy <[email protected]> Cr-Commit-Position: refs/heads/main@{#984321}
- Loading branch information