Re: [slightlyoff/ServiceWorker] More clarity around waiting for an active worker to finish (#916)

> If the browser's need for a request is dropped (page closes or user hits X on a navigation), then the respondWith promise for the related fetch no longer counts. However, I'm inclined to continue counting fetchEvent.waitUntil, since those actions may still be useful.

Yea, I agree we should handle FetchEvent just like other events.  Even when the last controlled page closes we will still have to handle push/bg-sync events that are queued up.  Seems safest to just flush fetch events naturally.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/916#issuecomment-228759134

Received on Monday, 27 June 2016 14:20:26 UTC