- From: Mattias Buelens <notifications@github.com>
- Date: Wed, 02 Jun 2021 15:03:14 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 2 June 2021 22:03:47 UTC
@MattiasBuelens commented on this pull request. > @@ -1287,8 +1556,8 @@ function ReadableByteStreamControllerRespondWithNewView(controller, view) { if (firstDescriptor.byteOffset + firstDescriptor.bytesFilled !== view.byteOffset) { throw new RangeError('The region specified by view does not match byobRequest'); } - if (firstDescriptor.byteLength !== view.byteLength) { - throw new RangeError('The buffer of view has different capacity than byobRequest'); + if (firstDescriptor.byteLength < view.byteLength) { Solved in #1123. -- 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/1114#discussion_r644349869
Received on Wednesday, 2 June 2021 22:03:47 UTC