From ed07558ccd0a3fb97df4c0fa017ae208489859e9 Mon Sep 17 00:00:00 2001
From: Yoav Weiss If el does not have an integrity
attribute, then set options's integrity metadata to the result of
- resolving a module integrity metadata with url and
- settings object.
Fetch an external module script graph given url, settings object, options, and onComplete.
@@ -106618,9 +106618,9 @@ document.querySelector("button").addEventListener("click", bound);Return newOptions.
To resolve a module - integrity metadata, given a URL url and an environment - settings object settingsObject:
+To resolve a module integrity + metadata, given a URL url and an environment settings + object settingsObject:
Assert: settingsObject's To fetch the descendants of and link a module script moduleScript, given an environment settings object fetchClient, a destination destination, an - algorithm onComplete, and an optional perform the fetch hook performFetch, run - these steps. onComplete must be an algorithm accepting null (on failure) or a - module script (on success).
+ data-x="concept-request-destination">destination destination, an algorithm + onComplete, and an optional perform the + fetch hook performFetch, run these steps. onComplete must be an + algorithm accepting null (on failure) or a module script (on success).Let record be moduleScript's module script (on success).
Assert: moduleRequest.[[Attributes]] does not contain any Record
- entry such that entry.[[Key]] is not "type
", because
- we only asked for "type
" attributes in
+
Assert: moduleRequest.[[Attributes]] does not contain any
+ Record entry such that entry.[[Key]] is not "type
", because we only asked for "type
" attributes in
HostGetSupportedImportAttributes.
Let moduleType be the result of running the module type from module @@ -109819,16 +109818,17 @@ import "https://example.com/foo/../module2.mjs";
Let resolveFunction be ! CreateBuiltinFunction(steps, 1,
- "resolve
", « »).
Let resolveFunction be ! CreateBuiltinFunction(steps,
+ 1, "resolve
", « »).
Return « Record { [[Key]]: "url
",
- [[Value]]: urlString }, Record { [[Key]]: "resolve
", [[Value]]: resolveFunction }
- ».
Return « Record { [[Key]]: "url
", [[Value]]: urlString },
+ Record { [[Key]]: "resolve
",
+ [[Value]]: resolveFunction } ».
The Import Attributes proposal contains an implementation-defined HostGetSupportedImportAttributes