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

I had a chat with @asakusuma and noticed that using `unregister()` for CSD does not satisfy @asakusuma's need. Since the registration and its service workers are retained although getting an uninstalling flag, refreshing a document that calls into `register()` makes the registration and its service workers resurrected. This means the script that the developer wanted to kill is going to be used again. For a kill switch, we probably should use Clear Registration instead of `unregister()`. Thoughts?

(With the clear data browser settings menu, Chrome and Edge Canary seem to use unregister(), and Firefox uses Clear Registration.)

-- 
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-497479399

Received on Thursday, 30 May 2019 20:45:21 UTC