[w3c/ServiceWorker] Should we restore the registration record removing step in Clear Registration? (#1433)

In https://github.com/w3c/ServiceWorker/issues/614#issuecomment-501492521, @asakusuma pointed:
> should Clear Registration call Remove scope to registration map as well? unregister() is not the only entry point into Clear Registration.

I missed that while reviewing https://github.com/w3c/ServiceWorker/pull/1415. I think we should restore the registration record removing step in Clear Registration algorithm.

Perhaps we can even use the uninstalling flag as we used to while keeping "killing the resurrection" part in Register algorithm as @jakearchibald did in the PR? I.e., for the unregistered record, subsequent navigations won't match it based on the flag, and subsequent Register will just replace the record.

-- 
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/1433

Received on Thursday, 13 June 2019 06:21:46 UTC