diff --git a/index.bs b/index.bs index b235f7bf..44a0001d 100644 --- a/index.bs +++ b/index.bs @@ -9054,6 +9054,21 @@ a reference to the same object that the IDL value represents. 1. Return [$IsDetachedBuffer$](|jsArrayBuffer|). +
+ A [=buffer source type=] instance |bufferSource| is + transferable if the following steps return true: + + 1. Let |jsArrayBuffer| be the result of [=converted to a JavaScript value|converting=] + |bufferSource| to a JavaScript value. + 1. If |jsArrayBuffer| has a \[[ViewedArrayBuffer]] internal slot, then set |jsArrayBuffer| to + |jsArrayBuffer|.\[[ViewedArrayBuffer]]. + 1. If [$IsSharedArrayBuffer$](|jsArrayBuffer|) is true, then return false. + 1. If [$IsDetachedBuffer$](|jsArrayBuffer|) is true, then return false. + 1. If |jsArrayBuffer|.\[[ArrayBufferDetachKey]] is not undefined, then + return false. + 1. Return true. +
+
To transfer an {{ArrayBuffer}} |arrayBuffer|, optionally given a [=realm=] |targetRealm|: