Re: [w3c/ServiceWorker] Allow active worker to immediately evict itself (#1296)

True, but the currently active worker doesn’t have direct access to `skipWaiting()`. We can sort of work around this by sending a postMessage to the waiting worker, asking it to call skipWaiting, but this approach doesn’t appear to be super reliable. We ran an experiment where the control group was “always use skipWaiting”.

-- 
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/1296#issuecomment-531542936

Received on Sunday, 15 September 2019 07:44:06 UTC