- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 09 Oct 2019 06:00:23 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 October 2019 13:00:25 UTC
On IRC Daniel explained to me that my agent-annotation suggestion works poorly architecturally for disabling top-level await, but allowing top-level await for dynamic imports. That's why https://github.com/whatwg/html/pull/4352 places the decision at module "creation". And failing at parse time was apparently hard to get agreement on in TC39. My remaining concern here is editorial, about inspecting [[PromiseState]] (see https://github.com/w3c/ServiceWorker/pull/1444#issuecomment-534103889), but that is something we can evolve over time and doesn't really affect the model so shouldn't be a blocking concern. Hope that helps alleviate some of the confusion. It's at least a bit clearer for me again. -- 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-539989750
Received on Wednesday, 9 October 2019 13:00:25 UTC