w3c / accelerometer

Accelerometer
https://www.w3.org/TR/accelerometer/
Other
19 stars 25 forks source link

Make default allowlist normative #61

Closed anssiko closed 3 years ago

anssiko commented 3 years ago

Fix #60

See also https://www.w3.org/2021/04/08-dap-minutes.html#r01

After some thought, I felt it is clearer to define this in each concrete sensor spec, rather that use inheritance. If this looks good, I'll replicate this to the other concrete sensor specs.

I felt this one-liner fits into the existing section, instead of a new "Permissions Policy Integration" section.


Preview | Diff

clelland commented 3 years ago

Drive-by LGTM

anssiko commented 3 years ago

I think these are the rest, PTAL:

In particular, look at the one-to-many relationship in orientation-sensor. I'm not sure if we have other similar features using Permissions Policy.

anssiko commented 3 years ago

Thanks @reillyeon, I merged those PRs that received review.

Two PRs remain open:

anssiko commented 3 years ago

Thanks @sideshowbarker! I'll merge also this one and the group will review the remaining open PRs https://github.com/w3c/ambient-light/pull/68 and https://github.com/w3c/proximity/pull/52 separately.