diff --git a/source b/source index ff41e74a468..4f8186e4272 100644 --- a/source +++ b/source @@ -58000,7 +58000,7 @@ o............A....e
  • Fetch a module script tree given url, credentials - mode, and settings.

  • + mode, "script", and settings.

    @@ -84185,15 +84185,13 @@ interface NavigatorOnLine { setting.

  • Set request's client to - settings object, and its type to "script".

  • + settings object, its type to "script", and its destination + to "script".

  • Fetch request.

  • -
  • Let url be a copy of the address - of the Document with which window is associated.

  • -
  • Return from this algorithm, and run the remaining steps as part of the fetch's process response for the response @@ -84234,22 +84232,20 @@ interface NavigatorOnLine {

    To fetch a classic worker script given a url, a referrer, a - settings object, and a boolean is shared, run these steps. The algorithm - will asynchronously complete with either null (on failure) or a new classic script - (on success).

    + settings object, and a destination, run these steps. The algorithm will + asynchronously complete with either null (on failure) or a new classic script (on + success).

    1. Let request be a new request whose url is url, client is settings object, type is "script", destination is "sharedworker" if is shared is true and "worker" otherwise, referrer is - referrer, mode is "same-origin", credentials - mode is "same-origin", and whose use-URL-credentials - flag is set.

    2. + data-x="concept-request-destination">destination is destination, referrer is referrer, mode is "same-origin", credentials mode is "same-origin", and whose use-URL-credentials flag is set.

    3. Fetch request.

    4. @@ -84273,15 +84269,15 @@ interface NavigatorOnLine {

    To fetch a module script tree given a url, a credentials mode, - 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).

    + 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. Fetch a single module script given url, credentials - mode, and settings object.

      + mode, destination, and settings object.

    3. Return from this algorithm and run the following steps when fetching a single module script asynchronously completes with @@ -84291,17 +84287,19 @@ interface NavigatorOnLine { these steps.

    4. Otherwise, result is a module script. Fetch the descendants of result using an - ancestor list obtained by appending url to ancestor list.

    5. + descendants of a module script">Fetch the descendants of result given + destination and an ancestor list obtained by appending url to ancestor + list.

    6. When fetching the descendants of a module script asynchronously completes with descendants result, asynchronously complete this algorithm with descendants result.

    -

    To fetch the descendants of a module script module script, using a given - ancestor list, run these steps. The algorithm will asynchronously complete with either - null (on failure) or with module script (on success).

    +

    To fetch the descendants of a module script module script, given a + destination and an ancestor list, run these steps. The algorithm will + asynchronously complete with either null (on failure) or with module script (on + success).

    1. Let record be module script's NavigatorOnLine {

    2. For each url in urls, fetch a module script tree given url, module script's credentials mode, module - script's settings object, and ancestor list.

      + data-x="concept-module-script-credentials-mode">credentials mode, destination, + module script's settings object, and ancestor list.

      If any of the fetch a module script tree invocations asynchronously complete with null, the user agent may terminate any or @@ -84354,8 +84352,9 @@ interface NavigatorOnLine {

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

    + mode, 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. @@ -84372,8 +84371,8 @@ interface NavigatorOnLine {
    3. Let request be a new request whose url is url, destination is "subresource", - type is "script", destination is destination, type is "script", mode is "cors", credentials mode is credentials mode, and client is @@ -93749,9 +93748,8 @@ interface WorkerGlobalScope : EventTarget { SharedWorker object worker, URL url, URL referrer, MessagePort outside port, list of relevant Document objects to add docs, possible - WorkerGlobalScope parent worker global scope, a boolean flag is - shared, and a WorkerOptions dictionary options, it must run the - following steps:

      + WorkerGlobalScope parent worker global scope, and a + WorkerOptions dictionary options, it must run the following steps:

        @@ -93765,6 +93763,9 @@ interface WorkerGlobalScope : EventTarget { +
      1. Let is shared be true if worker is a SharedWorker + object, and false if worker is a Worker object.

      2. +
      3. Call the JavaScript WorkerGlobalScope : EventTarget {

      4. Set up a worker environment settings object with realm execution context, and let settings object be the result.

      5. +
      6. Let destination be "worker" if is shared is + false, and "sharedworker" if it is true.

      7. +
      8. Obtain script by switching on the value of options's type member:

        @@ -93794,12 +93798,12 @@ interface WorkerGlobalScope : EventTarget {
        "classic"
        Fetch a classic worker script given url, referrer, - settings object, and is shared.
        + settings object, and destination.
        "module"
        Fetch a module script tree given url, the value of the credentials member of options, and settings - object.
        + data-x="">credentials member of options, destination, and + settings object.

        If the algorithm asynchronously completes with null, queue a task to fire @@ -94273,7 +94277,7 @@ enum WorkerType { "classic", "module" };

      9. Run a worker given worker, worker URL, the incumbent settings object's creation URL, outside port, - docs, parent worker global scope, false, and options.

      10. + docs, parent worker global scope, and options.

      @@ -94432,7 +94436,7 @@ interface SharedWorker : EventTarget {
    4. Run a worker given worker, urlRecord, the incumbent settings object's creation URL, outside port, - docs, parent worker global scope, true, and options.

    5. + docs, parent worker global scope, and options.