- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 25 Mar 2021 15:02:58 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 25 March 2021 22:03:20 UTC
@domenic 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) { Seems like this needs a corresponding spec change (and probably independent tests) -- 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#pullrequestreview-621615348
Received on Thursday, 25 March 2021 22:03:20 UTC