-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Compute Pressure API #22687
Add Compute Pressure API #22687
Conversation
The feature is only supported on desktop operating systems so far: https://chromestatus.com/feature/5597608644968448 Look at the Intent to Ship part: |
a571963
to
5cbdbdf
Compare
Thanks @kenchris! So, "no information provided yet" means no support :) I've also added the permissions policy bits here, they seem to be implemented as they are marked passing on https://wpt.fyi/results/compute-pressure?label=master&label=experimental&aligned&q=compute-pressure. All features this PR is adding:
|
@kenchris @arskama This PR is now passing because the Chrome train has moved on to the next milestone :) Can you confirm the API ships as described in #22687 (comment)? |
@Elchi3 yes, this is shipping. We might remove the supportedSourced static before though, still considering |
Renamed |
I've tested https://mdn-bcd-collector.gooborg.com/tests/api/PressureObserver in Chrome 125 beta and it's supported. I think this is good to go. |
I don't see knownSources in 125.0.6422.26 yet, but looks like it will be in there per https://issues.chromium.org/issues/337837870. I'm merging this, so the compat data will be available to the docs PR next week (mdn/content#32923) |
Yep, |
See https://w3c.github.io/compute-pressure/#idl-index for the API surface.
Draft PR given this is not yet stable but it will probably make the Chromium 125 train. (and BCD doesn't have Chrome 125 yet, so the build failure here is expected and this will not matter when we merge this PR later in the process).
cc @arskama @kenchris here you go, draft BCD for compute pressure :)
Question for you: By default we assume that a new web platform features ship on desktop and mobile browsers at the same time (and hence we "mirror" in the data, see the diff). For this API, I'm not sure. If it is shipping soon in 125, on which platforms will it be available? Thanks!