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

Having SWs ban `[[Async]]: true` modules feels like a fine solution but I think still requires more formal ecma262 allowance. Whatever happened with Anne's [original suggestion](https://github.com/tc39/proposal-top-level-await/issues/79#issuecomment-499398393)?

I'd be happy to propose adding a [[AllowAsyncModule]] bit to agents a la the [[CanBlock]] bit `Atomics.wait`. The spirit of both are the same: different agents have different constraints around the sync-ness of computation, whether it be indefinite blocking or async modules.

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

Received on Wednesday, 9 October 2019 04:11:01 UTC