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

Yeah, I agree that `skipWaiting()` doesn't resolve in a particularly useful way. Unfortunately it seems to be common for developers to write:

```js
addEventListener('install', () => event.waitUntil(skipWaiting()));
```

…which would create a deadlock with the changes you mention.

Related: https://github.com/w3c/ServiceWorker/issues/1016

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

Received on Thursday, 17 August 2017 08:37:50 UTC