diff --git a/source b/source index 9d749bd678d..f26f4483d44 100644 --- a/source +++ b/source @@ -8275,13 +8275,25 @@ interface DOMStringList {

If ! IsSharedArrayBuffer(value) is true, then:

    +
  1. Let agentCluster be the current Realm Record's corresponding + agent cluster.

  2. + + +
  3. +

    If agentCluster's allow sidechannel attacks is set to false, then + throw a "DataCloneError" DOMException.

    + +

    This check is only needed once as allow sidechannel attacks + cannot change over time and a SharedArrayBuffer cannot leave an agent + cluster.

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

  6. Set serialized to { [[Type]]: "SharedArrayBuffer", [[ArrayBufferData]]: value.[[ArrayBufferData]], [[ArrayBufferByteLength]]: size, - [[AgentCluster]]: the current Realm Record's corresponding agent - cluster }.

  7. + [[AgentCluster]]: agentCluster }.