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

> So I guess we can just mark this test case as returning OK:
>
> https://github.com/w3c/web-platform-tests/blob/a16738c524a65946b0ff7df6be37ae076ff5e860/service-workers/service-worker/resources/extendable-event-async-waituntil.js#L20

I think the current test is what we settled on. I.e., it should throw in that case.

> We think this example from the original issue is incorrect: #1039 (comment)

I think https://github.com/w3c/ServiceWorker/issues/1039#issuecomment-272215615 is the expected behavior we agreed. That is, we wanted to disallow a further lifetime extension in *any* async task when there's no holding extension promise.

> Olli suggests that the test should be saying "OK" there because the dispatch flag is set, I think:

I don't think the dispatch flag is set when the waitUntil is called in the microtask. The microtask checkpoint is performed after the event-dispatcher task is finished.

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

Received on Monday, 23 October 2017 05:22:55 UTC