Re: [w3c/ServiceWorker] Improve handling of extend lifetime promises (#1049)

annevk commented on this pull request.



>  
+          Note: If no lifetime extension promise has been added up to this point (i.e., at the end of the task that called the event handlers), the [=ExtendableEvent/extensions allowed flag=] is immediately unset. Calling {{ExtendableEvent/waitUntil()}} in subsequent asynchronous tasks will throw.

Can't you just check the event dispatch flag or some such for that?

-- 
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/pull/1049

Received on Friday, 6 January 2017 07:51:18 UTC