diff --git a/source b/source index 6778885a97e..0c8ec3c6627 100644 --- a/source +++ b/source @@ -8086,6 +8086,17 @@ interface DOMStringList {
  1. Let agentCluster be the surrounding agent's agent cluster.

  2. +
  3. +

    If agentCluster's cross-origin isolated + capability is false, then throw a + "DataCloneError"DOMException.

    + +

    This check is only needed when serializing (and not when deserializing) as + cross-origin isolated + cannot change over time and a SharedArrayBuffer cannot leave an + agent cluster.

    +
  4. If forStorage is true, then throw a "DataCloneError" DOMException.

  5. @@ -8503,18 +8514,6 @@ o.myself = o; serialized.[[AgentCluster]], then then throw a "DataCloneError" DOMException.

    -
  6. If targetRealm's cross-origin isolated capability is false, then throw - "DataCloneError" DOMException.

    - -

    This check is only needed when deserializing (and not when serializing) as - - cross-origin isolated capability cannot change over time and a - SharedArrayBuffer cannot leave an agent - cluster.

    -
  7. -
  8. Otherwise, set value to a new SharedArrayBuffer object in targetRealm whose [[ArrayBufferData]] internal slot value is serialized.[[ArrayBufferData]] and whose [[ArrayBufferByteLength]] internal slot