| 20:49 | <nicolo-ribaudo> | Can anyone point me to where the HTML spec says that import() yields to the event loop? Is it implied in the "Wait until the algorithm asynchronously completes" (for example, step 6 of HostImportModuleDynamically) and "asynchronously complete this algorithm with" (for example, step 2 of fetch an import() module script graph) phrasing? |
| 23:49 | <littledan> | It’s not quite that, it’s in this algorithm, where even on a module map hit, it queues a task to complete the algorithm, just to avoid zalgo I guess https://html.spec.whatwg.org/#fetch-a-single-module-script |
| 23:50 | <Kris Kowal> | he comes |
| 23:50 | <littledan> | Oh wait sorry I misread, am still looking |
| 23:53 | <littledan> | Huh, I can’t find the part where it queues a task in the cache hit case… |
| 23:54 | <littledan> | Maybe Yulia will know. |