Re: [whatwg/streams] Allow other specifications to create readable byte streams (#1130)

@domenic commented on this pull request.



> +  1. If |view|.\[[ViewedArrayBuffer]] equals |byobRequest|.\[[view]].\[[ViewedArrayBuffer]], then
+     perform ? [$ReadableByteStreamControllerRespond$](|stream|.[=ReadableStream/[[controller]]=],
+     |view|.\[[ByteLength]]).

Yeah, I'm not sure it's actually needed. It felt weird responding with a new view when we didn't have to though... maybe that's just a naming quirk. I.e. we named it `respondWithNewView` instead of `respondWithPossiblyNewView` for brevity.

-- 
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/1130#discussion_r665560202

Received on Wednesday, 7 July 2021 17:13:28 UTC