Re: [w3c/ServiceWorker] Can respondWith() be called from a microtask? (#1394)

I think the spec says it should be allowed in the microtask.  The microtask checkpoint is in "Cleanup After Running Scripts" here:

https://html.spec.whatwg.org/multipage/webappapis.html#clean-up-after-running-script

This is called from step 16.2 here:

https://heycam.github.io/webidl/#call-a-user-objects-operation

Which in turn is called from the DOM spec's "Inner Invoke" to call event targets:

https://dom.spec.whatwg.org/#concept-event-listener-inner-invoke

-- 
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/1394#issuecomment-472918644

Received on Thursday, 14 March 2019 15:28:28 UTC