Re: [whatwg/streams] Do not assert that closing a readable byte stream cannot throw (PR #1388)

MattiasBuelens left a comment (whatwg/streams#1388)

I always found this to be a weird part of the specification... Is it really the *byte source*'s fault that the BYOB reader is trying to do a multi-byte `read(view)`, but there just aren't any more bytes? 🤔

I'm wondering if we should just get rid of the "throw _e_" in step 4.2.3, and let the byte source tear down "normally" while only the reader gets the error.

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

Message ID: <whatwg/streams/pull/1388/c6387051283@github.com>

Received on Saturday, 24 October 2026 17:04:32 UTC