Re: [ServiceWorker] should installing workers be persisted if browser is killed? (#794)

Well, Chrome is even more different: `getRegistration()` itself returns null if there was never a successfully installed worker for that registration. In Chrome's design all persisted registrations have exactly one persisted worker (a waiting one or an active one).

I think that's cleaner, that way you don't need to keep around state for half-installed workers. It also applies to cases like a disk error while trying to write the worker.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/794#issuecomment-161209599

Received on Wednesday, 2 December 2015 07:38:31 UTC