Re: [w3c/ServiceWorker] async waitUntil() does not allow extension on final promise resolution? (#1039)

This is not related to the issue posed in the OP. I'm surprised it didn't work. Both Blink and Gecko implemented it. On which environment did you tried it?

> Is it specified anywhere what events should change the run time of the SW if used with waitUntil?

The `ExtendableEvent` interface provides `waitUntil()` method, and APIs extending SW are supposed to extend `ExtendableEvent` for their own events: https://w3c.github.io/ServiceWorker/#extensibility. Examples are:

* PushEvent: https://w3c.github.io/push-api/#dom-pushevent
* NotificationEvent: https://notifications.spec.whatwg.org/#notificationevent
* SyncEvent: https://wicg.github.io/BackgroundSync/spec/#syncevent

-- 
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/1039#issuecomment-269944831

Received on Monday, 2 January 2017 08:37:11 UTC