Re: [whatwg/streams] Various fixes for readable byte streams (#1123)

@domenic commented on this pull request.



> @@ -1263,18 +1289,17 @@ function ReadableByteStreamControllerRespondInReadableState(controller, bytesWri
 
 function ReadableByteStreamControllerRespondInternal(controller, bytesWritten) {
   const firstDescriptor = controller._pendingPullIntos[0];
+  assert(CanTransferArrayBuffer(firstDescriptor.buffer) === true);

I'd be happy leaving CanTransferArrayBuffer in the asserts, for spec clarity.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1123#discussion_r633917638

Received on Monday, 17 May 2021 22:56:01 UTC