Re: [whatwg/streams] Reject pending reads when releasing reader (#1168)

> Other implementations have not yet implemented readable byte streams. As such the editors are treating this as a bugfix to readable byte streams, that falls under their previously-expressed general interest in the feature. (Although, explicit review from other engines would be welcome.)

This spec change also affects *default readers*. We no longer throw a `TypeError` when `ReadableStreamDefaultReader.releaseLock()` is called while there are pending read requests, instead we now reject all pending `read()` requests.

So technically speaking, we merged this PR a bit too early. 😅 We should have asked for their interest first. [As discussed on Matrix](https://matrix.to/#/!AGetWbsMpFPdSgUrbs:matrix.org/$bw-O_p88-LdEs46F8tvR3zeeH8hfJE3lvAB8huk1BAk?via=mozilla.org&via=matrix.org&via=igalia.com), I'll mention this when filing spec bugs for *all* browsers, and ask them to let us know if they have any objections.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1168#issuecomment-1012528408

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1168/c1012528408@github.com>

Received on Thursday, 13 January 2022 21:27:00 UTC