diff --git a/source b/source index 6778885a97e..0c8ec3c6627 100644 --- a/source +++ b/source @@ -8086,6 +8086,17 @@ interface DOMStringList {
Let agentCluster be the surrounding agent's agent cluster.
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.
If forStorage is true, then throw a
"DataCloneError
" DOMException
.
DataCloneError
" DOMException
.
- 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.
Otherwise, set value to a new SharedArrayBuffer object in targetRealm whose [[ArrayBufferData]] internal slot value is serialized.[[ArrayBufferData]] and whose [[ArrayBufferByteLength]] internal slot