Re: [w3c/ServiceWorker] Top-level await integration for ServiceWorkers running modules (#1407)

I'm a bit confused by the above discussion. The reason that the PR checks [[Async]] rather than making an agent flag that's passed down to JS is that such an agent flag would have to be checked by each thing that creates a module. But there are different specifications that do that--ECMA-262 and the Wasm/JS API, for one. Also, it's unclear how to make an agent flag context-dependent, in the sense of flagging the first import but allowing later dynamic import.

-- 
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/1407#issuecomment-539959368

Received on Wednesday, 9 October 2019 11:27:14 UTC