Re: [w3c/ServiceWorker] skipWaiting() promise should resolve after promotion to .active (#1187)

Sorry about the confusion, but please ignore my comments from https://github.com/w3c/ServiceWorker/issues/1187#issuecomment-398569800.

> If one does waitUntil(skipWaiting()) in the install event handler, then skipWaiting() resolves immediately because Try Activate bails since waiting worker is null.

There's a case when registrations can hold an waiting worker while installing a new one.



-- 
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/1187#issuecomment-398587845

Received on Wednesday, 20 June 2018 00:38:22 UTC