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

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

That's a good point. I was imagining the the flag being mutable at runtime, which admittedly isn't like  any of the other per-agent flags, which are all constant.

> That's why whatwg/html#4352 places the decision at module "creation".

Ah, that's what I was missing. The check for [[Async]] currently is at module "creation" time already? In that case I withdraw my agent flag suggestion.


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

Received on Wednesday, 9 October 2019 20:15:49 UTC