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

Resolving it once the service worker moves from `.waiting` to `.active` would be good for the `skipWaiting()`'s semantic if we could. But I still don't see any good way to avoid the deadlock in https://github.com/w3c/ServiceWorker/issues/1187#issuecomment-323006020. The service worker's install handlers have to wait until the `waitUntil(skipWaiting())` promises resolve to become a waiting worker.

-- 
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-398565633

Received on Tuesday, 19 June 2018 22:25:48 UTC