Re: [w3c/ServiceWorker] serviceworker.skipWaiting (#1016)

Taking it one step further, it would be nice to be able to, from the active worker, call `update()` in a way that ensures the resulting installation will `skipWaiting()`. For instance:

`registration.update({ skipWaiting: true });`

Use case: a worker decides it's not in a good state and wants to force upgrade to the latest.

-- 
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/1016#issuecomment-375797728

Received on Friday, 23 March 2018 21:04:21 UTC