This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
PressureObserver.supportedSources is not a method, it is an attribute #6284
Labels
bug
Something on the site is broken!
content update
P2
A normal priority task. This is the default for most issues.
If you want to file a bug with Chromium (the open-source project behind Google Chrome and other browsers), please use https://crbug.com.
Describe the bug
In the description of Compute Pressure API, in section Methods, supportedSources is listed as a static method, which it isn't.
To Reproduce
Open the link https://developer.chrome.com/docs/web-platform/compute-pressure/ and scroll down to section "Methods" to find the description
Expected behavior
It should be listed only as parameter, referring to the spec (https://w3c.github.io/compute-pressure/#the-supportedsources-attribute)
static PressureObserver.supportedSources
(read only): Returns supported source types by the hardware.The text was updated successfully, but these errors were encountered: