[w3c/ServiceWorker] Confusion around new events after skipWaiting (#1295)

Once the [Skip Waiting Flag](https://w3c.github.io/ServiceWorker/#dfn-skip-waiting-flag) is set, but before the waiting worker becomes active, are incoming fetch and and functional events still sent to the active worker?

I don't see any spec provisions for handling incoming events during the transition that is kicked off by `skipWaiting`. [Try Activate](https://www.w3.org/TR/service-workers/#try-activate-algorithm) doesn't actually activate unless there are [no pending events](https://www.w3.org/TR/service-workers/#service-worker-has-no-pending-events). So it seems like activation after skipWaiting could be delayed by continually fetching before the last fetch completes.

-- 
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/1295

Received on Thursday, 29 March 2018 01:12:39 UTC