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:
Let agentCluster be the current Realm Record's corresponding + agent cluster.
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.
If forStorage is true, then throw a
"DataCloneError
" DOMException
.
Set serialized to { [[Type]]: "SharedArrayBuffer", [[ArrayBufferData]]: value.[[ArrayBufferData]], [[ArrayBufferByteLength]]: size, - [[AgentCluster]]: the current Realm Record's corresponding agent - cluster }.