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

Our gecko bug for this is here:

https://bugzilla.mozilla.org/show_bug.cgi?id=1170543

Incidentally, I think we should count "in-flight event" from the moment the task is queued to perform the dispatch.  So we should maintain a counter of events on the registration or something.  The counter is then decremented when the waitUntil/respondWith promises settle or immediately after the event if neither has been called.

---
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-228426468

Received on Friday, 24 June 2016 18:39:29 UTC