Re: [w3c/ServiceWorker] A way to immediately unregister a service worker (#614)

@asutherland I like that approach. So for Firefox are subscriptions still [associated with a registration](https://w3c.github.io/push-api/#push-subscription)? Given an origin that has already received permission for push notifications, after CSD: storage is applied, if the application wants to resume notifications, does the application simply call `subscribe()` again, and permission is assumed, without having to ask the user again?

Another relevant section of [the spec](https://w3c.github.io/push-api/#security-and-privacy-considerations):
> User agents MUST acquire consent for permission through a user interface for each call to the subscribe() method, unless a previous permission grant has been persisted, or a prearranged trust relationship applies. Permissions that are preserved beyond the current browsing session MUST be revocable.

-- 
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/ServiceWorker/issues/614#issuecomment-515159339

Received on Thursday, 25 July 2019 18:23:33 UTC