From c5fd19e32c5149c5d6293064a5eb6978aab39c4e Mon Sep 17 00:00:00 2001
From: Yoav Weiss Let map be settings object's global object's import map. If el does not have an A specifier resolution record is a struct. It has the following items: A global object has a resolved module set, a set
of specifier resolution records, initially
empty.module
"integrity
attribute, then set options's integrity metadata to the result of
@@ -106168,22 +106164,6 @@ new PaymentRequest(…); // Allowed to use
from the initial empty one. The import map is
only accessed for the resolution of a root module script.
-
-
Implementations can replace
- asURL
with a boolean that indicates that
- the specifier is either bare or URL-like that is special.
There is always a 1-to-1-to-1 mapping between realms, 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: Let map be 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).
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
@@ -108035,7 +108010,7 @@ document.querySelector("button").addEventListener("click", bound);
To create a JavaScript module script,
given a string source, an environment settings
object settings, a URL baseURL, and a script fetch
- options options:
+ options
If scripting is disabled for
@@ -108883,7 +108858,7 @@ dictionary PromiseRejectionEventInit : EventInit
To resolve a module specifier given a script-or-null
- referringScript, and a string specifier:
+ referringScript, and a string specifier: Let settingsObject and baseURL be null. A specifier resolution record is a struct. It has the following items: Implementations can replace
+ specifier as a URL with a boolean that
+ indicates that the specifier is either bare or URL-like that is special. To add module to resolved module set given an environment settings
object settingsObject, a string serializedBaseURL, a
string normalizedSpecifier, and a URL-or-null
@@ -109418,7 +109414,8 @@ dictionary PromiseRejectionEventInit : EventInitserializedBaseURL, specifier set to
normalizedSpecifier, and asURL set to asURL.
+
+
+
Append record to global's resolved module set.
If specifierKey is record's specifier, or if the following - conditions are all true:
+ data-x="specifier-resolution-record-specifier">specifierspecifierKey ends with U+002F (/).
specifierKey ends with U+002F (/);
specifierKey is a code unit prefix of record's specifier.
Either record's asURL is null or is - special
either record's specifier as a URL is null or + is special,
then:
@@ -109640,7 +109637,7 @@ dictionary PromiseRejectionEventInit : EventInitImplementers are encouraged to implement a more efficient matching algorithm when working with the resolved module set. As guidance, the number of - resolved/mapped modules in a large application can be in the order of thousands. + resolved/mapped modules in a large application can be on the order of thousands.If scopePrefix exists in @@ -109715,9 +109712,9 @@ dictionary PromiseRejectionEventInit : EventInitimports.
The above algorithm merges a new import map into the given environment - settings object's global object's import map. Let's examine a - few examples:
+The above algorithm merges a new import map into the given environment settings + object's global object's import map. Let's examine a few + examples: