diff --git a/source b/source index 47cea845189..b70ea4c2e48 100644 --- a/source +++ b/source @@ -96580,13 +96580,13 @@ new PaymentRequest(…); // Allowed to use

To obtain a worker/worklet agent, given an environment settings object or null outside settings, a boolean - isTopLevel, and a boolean canBlock, run these steps:

+ createsCluster, and a boolean canBlock, run these steps:

  1. Let agentCluster be null.

  2. -

    If isTopLevel is true, then:

    +

    If createsCluster is true, then:

    1. Set agentCluster to a new agent cluster.

    2. @@ -96625,9 +96625,9 @@ new PaymentRequest(…); // Allowed to use

    To obtain a dedicated/shared worker agent, given an environment settings - object outside settings and a boolean isShared, return the result of - obtaining a worker/worklet agent given outside settings, - isShared, and true.

    + object outside settings and a boolean createsCluster, return the + result of obtaining a worker/worklet agent given outside settings, + createsCluster, and true.

    To obtain a worklet agent, given an environment settings object outside settings, return the result of obtaining a worker/worklet agent @@ -109194,7 +109194,18 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope

    1. Let is shared be true if worker is a SharedWorker - object, and false otherwise.

    2. + object; otherwise false.

      + +
    3. +

      Let createsCluster be true if is shared is true or url's + scheme is "data"; otherwise + false.

      + +

      url can be used here, because a redirect to a data: URL results in a network error.

      + +
    4. Let owner be the relevant owner to add given outside settings.

    5. @@ -109210,7 +109221,7 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope
    6. Let agent be the result of obtaining a dedicated/shared worker agent given outside settings and - is shared. Run the rest of these steps in that agent.

    7. + createsCluster. Run the rest of these steps in that agent.

    8. Let realm execution context be the result of creating a new realm