Re: [slightlyoff/ServiceWorker] Allow waitUntil to be called multiple times, async (#771)

Chrome wants to implement this to fix our broken FetchEvent.waitUntil() implementation <https://bugs.chromium.org/p/chromium/issues/detail?id=601095>. Can we get spec text? Informally, it sounds like:

- FetchEvent.respondWith must be called synchronously in the event handler (at most one time)
- FetchEvent.waitUntil can be called at any time while the worker is alive, and the browser will respect that hint
- The browser tries to keep the worker alive as long as any respondWith or waitUntil promise for the event is pending.

---
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/771#issuecomment-206696571

Received on Thursday, 7 April 2016 04:59:46 UTC