Re: [ServiceWorker] if service-worker-allowed header changes should active worker be potentially unregistered? (#857)

Is there a potentially bad situation here:

1) Service worker script installed that offline's all pages for the site as cache-first.
2) Site disables service workers with Service-Worker-Allowed because of some problem.
3) Active installed script can now not be removed because updates always fail due to the header.

I guess maybe the answer is "just don't do that", but it seems to make the header less useful.  It seems you have to avoid the header block so you can ship your "uninstall uourseflf " SW update.

Anyway, I'll read that other issue in the morning.  Sorry if I'm retreading old ground.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/857#issuecomment-202199261

Received on Monday, 28 March 2016 02:36:54 UTC