w3c / device-posture

Device Posture API
https://www.w3.org/TR/device-posture/
Other
33 stars 21 forks source link

Remove the policy control part from the spec. #114

Closed darktears closed 8 months ago

darktears commented 8 months ago

We can only gate properly a JavaScript API by throwing a NotAllowed error. Unfortunately there is no mechanism or previous examples where a CSS is "gated" behind a Permission Policy and it raises questions on how such implementation would work (how to tell developers that the CSS MQs are not evaluated because of the policy control)


Preview | Diff