- From: Asa Kusuma <notifications@github.com>
- Date: Fri, 23 Mar 2018 14:03:51 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 23 March 2018 21:04:21 UTC
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