Re: [heycam/webidl] Add and improve operations on BufferSources (#987)

@domenic commented on this pull request.



> +    1.  Let |transferred| be [=!=]
+        [$OrdinaryCreateFromConstructor$](|realm|.\[[Intrinsics]].[[{{%ArrayBuffer%}}]],
+        "%ArrayBuffer.prototype%", « \[[ArrayBufferData]], \[[ArrayBufferByteLength]],
+        \[[ArrayBufferDetachKey]] »).

I think I'm going to keep the ! on the assumption that zero-byte allocation should never fail.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/987#discussion_r658320904

Received on Thursday, 24 June 2021 22:23:15 UTC