diff --git a/source b/source index c41ce67f18a..311afcd86c5 100644 --- a/source +++ b/source @@ -2745,6 +2745,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
[LegacyFactoryFunction]
[LegacyLenientThis]
[LegacyNullToEmptyString]
import
- statements encountered throughout the graph or from fetching an import() module script graph.
+ graph, but not for the fetches resulting from import
statements
+ encountered throughout the graph or from import()
expressions.
By default, not supplying the perform the
@@ -93100,57 +93101,10 @@ document.querySelector("button").addEventListener("click", bound);
If result is null, asynchronously complete this algorithm with null, and
return. Let visited set be « (url, " Fetch the descendants of
- and link result given settings object, " To fetch an import() module script graph given a moduleRequest, a
- base URL, a settings object, and some options, run these steps.
- The algorithm will asynchronously complete with either null (on failure) or a module
- script (on success). Let url be the result of resolving a
- module specifier given base URL and moduleRequest.[[Specifier]]. If url is failure, then asynchronously complete this algorithm with null, and
- return. Assert: moduleRequest.[[Assertions]] does not contain any Record
- entry such that entry.[[Key]] is not " Let moduleType be the result of running the module type from module
- request steps given moduleRequest. If the result of running the module type allowed steps given
- moduleType and settings object is false, then asynchronously complete this
- algorithm with null, and return. Fetch a single module script given url, settings
- object, " If result is null, asynchronously complete this algorithm with null, and
- return. Let visited set be « (url, moduleType) ». Fetch the
- descendants of and link result given settings object,
- destination, and visited set. When this asynchronously completes with
- final result, asynchronously complete this algorithm with final
- result.javascript
")
- ».script
", and visited set. When this asynchronously completes with
- final result, asynchronously complete this algorithm with final
- result.
-
result given settings object and "type
", because
- we only asked for "type
" assertions in
- HostGetSupportedImportAssertions.script
", options, settings object,
- "client
", moduleRequest, and with the
- top-level module fetch flag unset. If the caller of this algorithm specified custom
- perform the fetch steps, pass those along as
- well. Wait until the algorithm asynchronously completes with result.script
". When this asynchronously completes with final result,
+ asynchronously complete this algorithm with final result.
To fetch a modulepreload module script graph given a url, a @@ -93171,12 +93125,9 @@ document.querySelector("button").addEventListener("click", bound);
If result is not null, optionally perform the following steps:
Let visited set be « (url, "javascript
")
- ».
Fetch the - descendants of and link result given settings object, - destination, and visited set.
Generally, performing these steps will be beneficial for performance, as it @@ -93200,13 +93151,10 @@ document.querySelector("button").addEventListener("click", bound);
If script is null, asynchronously complete this algorithm with null, and return.
Let visited set be an empty set.
Fetch the
- descendants of and link script, given settings object, the
- destination "script
", and visited set. When this asynchronously
- completes with final result, asynchronously complete this algorithm with final
- result.
script
". When this asynchronously completes with final
+ result, asynchronously complete this algorithm with final result.
To fetch a module worker script graph @@ -93267,7 +93215,7 @@ document.querySelector("button").addEventListener("click", bound);
This diagram illustrates how these algorithms relate to the ones above, as well as to each other:
-