diff --git a/source b/source index 605bf7e65b3..b67d18d9824 100644 --- a/source +++ b/source @@ -85978,23 +85978,26 @@ interface NavigatorOnLine {

To fetch a module script tree given a url, a credentials mode, a cryptographic nonce, a parser state, a destination, a - fetch client settings object, and an optional ancestor list and module - map settings object, run these steps. The algorithm will asynchronously complete with either - null (on failure) or a module script (on success).

+ fetch client settings object, and optional module map settings object, + ancestor list, and referrer, run these steps. The algorithm will + asynchronously complete with either null (on failure) or a module script (on + success).

    -
  1. If ancestor list is not given, let it be an empty list.

  2. -
  3. If module map settings object is not given, let it be fetch client settings object.

  4. +
  5. If ancestor list is not given, let it be an empty list.

  6. + +
  7. If referrer is not given, let it be "client".

    +
  8. Fetch a single module script given url, credentials mode, cryptographic nonce, parser state, destination, - fetch client settings object, and module map settings object. If the caller - of this algorithm specified custom set up the - request or process the response - steps, pass those along while fetching a single - module script.

    + fetch client settings object, module map settings object, and + referrer. If the caller of this algorithm specified custom set up the request or process the response steps, pass those along + while fetching a single module script.

  9. Return from this algorithm, and run the following steps when fetching a single module script asynchronously completes with @@ -86058,8 +86061,9 @@ interface NavigatorOnLine { data-x="concept-module-script-credentials-mode">credentials mode, module script's cryptographic nonce, module script's parser state, - destination, module script's settings object, and - ancestor list.

    + destination, module script's settings object, module + script's settings object, ancestor list, and module + script's base URL.

    It is intentional that no custom set up the request or NavigatorOnLine {

    To fetch a single module script, given a url, a credentials mode, a cryptographic nonce, a parser state, a destination, - a fetch client settings object, and a module map settings object, run these - steps. The algorithm will asynchronously complete with either null (on failure) or a module - script (on success).

    + a fetch client settings object, a module map settings object, and a + referrer, run these steps. The algorithm will asynchronously complete with either null + (on failure) or a module script (on success).

    1. Let module map be module map settings object's module @@ -86104,8 +86108,10 @@ interface NavigatorOnLine { data-x="concept-request-credentials-mode">credentials mode is credentials mode, cryptographic nonce metadata is cryptographic nonce, parser - metadata is parser stateand client - is fetch client settings object.

    2. + metadata is parser state, referrer is referrer, and client is fetch client settings + object.

    3. If the caller specified custom steps to set up the request, perform them on request.

    4. @@ -86136,7 +86142,7 @@ interface NavigatorOnLine {
    5. The result of extracting a MIME type from response's header list - (ignoring parameters) is not a JavaScript MIME type.

      + (ignoring parameters) is not a JavaScript MIME type

      For historical reasons, fetching a classic script does not include MIME type checking. In contrast, module scripts will @@ -86145,7 +86151,7 @@ interface NavigatorOnLine {

    6. The caller specified custom steps to process the response, which when performed - on response return false.

    7. + on response return false