w3c / sensors

Generic Sensor API
https://www.w3.org/TR/generic-sensor/
Other
127 stars 59 forks source link

Use right notation for default allowlist value. #442

Closed rakuco closed 1 year ago

rakuco commented 1 year ago

w3c/webappsec-permissions-policy#123 clarified the notation and types used by allowlists and default allowlists.

Default allowlists are not allowlists themselves, so we need to use "self" rather than ["self"].


Preview | Diff

rakuco commented 1 year ago

@anssiko can you go ahead and merge the PR? I don't have write access to this repository.

anssiko commented 1 year ago

@rakuco, please check again, I just tweaked some settings.

rakuco commented 1 year ago

@rakuco, please check again, I just tweaked some settings.

Did you push the changes? The patch looks identical to me.

anssiko commented 1 year ago

@rakuco what I meant to say was you just earned write to this repo :)

rakuco commented 1 year ago

D'oh :-) Somehow I read "settings" as "strings" and was looking at the patch's contents... Thanks for the behind-the-scene adjustments!