From e82302fde5ca62986a6ec523e3475b22b8ae4934 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Let state be Record { [[ParseError]]: null, [[Destination]]:
- destination }. Let state be Record { [[ParseError]]: null, [[Destination]]:
+ destination, [[PerformTheFetch]]: null }. If the caller of this algorithm specified custom perform the fetch steps, set
+ state.[[PerformTheFetch]] to such steps. Let loading promise be record. Fetch a single module script given url, settings
object, destination, options, settings object,
referrer, moduleRequest, with the top-level module fetch flag
- unset, and with onComplete.
Let destination be "script".
If loadState is not undefined, set destination to - loadState.[[Destination]].
Fetch a single imported module script given settings object, @@ -95133,6 +95137,11 @@ import "https://example.com/foo/../module2.mjs";
Perform FinishLoadImportedModule(referrer, moduleRequest, payload, completion).
If loadState is not undefined and loadState.[[PerformTheFetch]] is not + null, pass loadState.[[PerformTheFetch]] as fetch a single imported module + script's custom perform the fetch + steps.