Re: [ServiceWorker] skip waiting flag purges active worker early (#821)

> I think it would be better to remove the exiting worker logic from the install skip-waiting-flag handling and just rely on Activate to exit the worker.

Agreed. It should be removed. Actually those steps were there for now removed `InstallEvent.replace()` which was sort of `.skipWaiting()` + `.claim()`. Here's a bit of history why those steps were added: https://github.com/slightlyoff/ServiceWorker/issues/364

I'll remove them. Thanks for spotting this!

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

Received on Friday, 22 January 2016 10:23:56 UTC