w3c / geolocation

W3C Geolocation API
https://www.w3.org/TR/geolocation/
81 stars 56 forks source link

Suggest permission lifetimes #108

Closed marcoscaceres closed 2 years ago

marcoscaceres commented 2 years ago

Closes #69 Closes #54

Depends on https://github.com/w3c/permissions/pull/287 and https://github.com/whatwg/html/pull/7337

Try to be broadly accommodating to what browses do with respect to Geolocation permission lifetimes. I prioritized "single session" permissions, while accommodating what Chrome does (you can navigate around... only when you close the browser window/tab does it reset). I also allowed for what Brave does (time based).

The following tasks have been completed:

Implementation commitment:


Preview | Diff