diff --git a/source b/source index 99c91d79da1..cda0307d433 100644 --- a/source +++ b/source @@ -58804,15 +58804,18 @@ o............A....e event named error at the element, and abort these steps. Otherwise, let url be the resulting URL record.

+
  • Let referrer be the element's node document's address.

  • +
  • Switch on the script's type:

    "classic"
    -

    Fetch a classic script given url, CORS setting, - cryptographic nonce, parser state, settings, and - encoding.

    +

    Fetch a classic script given url, referrer, CORS + setting, cryptographic nonce, parser state, settings, + and encoding.

    "module"
    @@ -58834,9 +58837,9 @@ o............A....e
  • -
  • Fetch a module script tree given url, credentials - mode, cryptographic nonce, parser state, "script", and settings.

  • +
  • Fetch a module script tree given url, referrer, + credentials mode, cryptographic nonce, parser state, + "script", and settings.

  • @@ -86957,11 +86960,11 @@ interface NavigatorOnLine {

    Service Workers is an example of a specification that runs these algorithms with its own options for the hooks.

    -

    To fetch a classic script for a script element element, - given a url, a CORS setting, a cryptographic nonce, a parser - state, a settings object, and a character encoding, run these steps. - The algorithm will asynchronously complete with either null (on failure) or a new classic - script (on success).

    +

    To fetch a classic script given a url, a referrer, a CORS + setting, a cryptographic nonce, a parser state, a settings + object, and a character encoding, run these steps. The algorithm will + asynchronously complete with either null (on failure) or a new classic script (on + success).

    1. Let request be the result of client to settings object, its type to "script", its destination - to "script", its cryptographic nonce metadata to - cryptographic nonce, and its parser - metadata to parser state.

    2. + to "script", its referrer + to referrer, its cryptographic nonce + metadata to cryptographic nonce, and its parser metadata to parser + state.

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

    4. @@ -87073,19 +87077,19 @@ interface NavigatorOnLine {
    5. Asynchronously complete this algorithm with script.
    -

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

    +

    To fetch a module script tree given a url, a referrer, a + credentials mode, a cryptographic nonce, a parser state, a + destination, a settings object, and an optional ancestor list, + 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. Fetch a single module script given url, credentials - mode, cryptographic nonce, parser state, destination, and - settings object. If the caller of this algorithm specified custom set up the request or

      Fetch a single module script given url, referrer, + credentials mode, cryptographic nonce, parser state, + destination, and 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.

      @@ -87153,7 +87157,8 @@ interface NavigatorOnLine {
    4. For each url in urls, fetch a module script tree given - url, module script's url, module script's base + URL, module script's credentials mode, module script's cryptographic nonce, module script's parser state, @@ -87175,10 +87180,11 @@ interface NavigatorOnLine {

    -

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

    +

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

    1. Let module map be settings's module map.

    2. @@ -87196,13 +87202,14 @@ interface NavigatorOnLine {
    3. Let request be a new request whose url is url, destination is destination, referrer is referrer, type is "script", mode is "cors", credentials mode is credentials mode, cryptographic nonce metadata is cryptographic nonce, parser - metadata is parser stateand client - is settings object.

    4. + metadata is parser state, and client is settings object.

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

    6. @@ -96613,9 +96620,9 @@ interface WorkerGlobalScope : EventTarget { settings object, and destination.
      "module"
      -
      Fetch a module script tree given url, the value of the credentials member of options, the empty string (as no - cryptographic nonce is present for workers), "not +
      Fetch a module script tree given url, referrer, the + value of the credentials member of options, the empty string + (as no cryptographic nonce is present for workers), "not parser-inserted", destination, and settings object.
      @@ -119631,6 +119638,7 @@ INSERT INTERFACES HERE Marc Hoyois, Marco Zehe, Marcus Bointon, + Marjin Kruisselbrink, Mark Birbeck, Mark Davis, Mark Miller,