Re: [w3c/ServiceWorker] async waitUntil microtask issue (#1213)

> 3. in https://dom.spec.whatwg.org/#concept-event-listener-inner-invoke, each callback invocation (step 16.2 of [1]) contains a microtask checkpoint specified in [2].

I didn't realize the execution of each listener callback consumes the microtasks. That considered, I agree the WPT test (calling waitUntil() in a microtask) returns OK and doesn't throw an InvalidStateError. Thanks for the pointers. Sorry for my confusion.

-- 
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/1213#issuecomment-338892952

Received on Tuesday, 24 October 2017 06:58:42 UTC