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

> Sorry no that can't be right. p could take a long time and it doesn't make sense for the event dispatch flag to still be set in that case. I wonder if it matters that the test is using p = Promise.resolve() instead of a longer promise like one that resolves after setTimeout.

FWIW, I think this analysis here is correct and your test looks good.  Thanks!

-- 
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-473324611

Received on Friday, 15 March 2019 15:13:04 UTC