Re: [w3c/permissions] Explicitly limit permission lifetimes (#231)

Because there was some confusion around how permissions in Firefox work: As a (probably undocumented) policy, by default we grant permission for the smallest atomic unit of access. i.e. for `Geolocation.getCurrentPosition` this means a one-off permission, with further requests triggering another prompt. For WebRTC this means that permission is granted only for the duration of the stream (though we have been adding a few hacks there to adjust to sites that unfortunately are built for the liberally granting Chromium model). Notifications, on the other hand, have a permanent permission lifetime because they need to work when the tab is closed.

The user can always choose to grant permanent lifetime by checking the checkbox in our dialogs, for example when they frequently use the site.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/231#issuecomment-804707934

Received on Tuesday, 23 March 2021 08:16:08 UTC