- From: Nidhi Jaju <notifications@github.com>
- Date: Mon, 30 Nov 2020 23:35:24 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 1 December 2020 07:35:37 UTC
While investigating a WPT failure, I found that if we don't return after this > If stream.[[state]] is "errored", perform readIntoRequest’s error steps given stream.[[storedError]]. in [ReadableStreamBYOBReaderRead()](https://streams.spec.whatwg.org/commit-snapshots/41a968974c91e05b20738f77d0b2731ec7391e92/#readable-stream-byob-reader-read) we hit the second assert in [AddReadIntoRequest()](https://streams.spec.whatwg.org/commit-snapshots/41a968974c91e05b20738f77d0b2731ec7391e92/#readable-stream-add-read-into-request) > Assert: stream.[[state]] is "readable" or "closed". Just wondering should we be returning after performing the error steps then, or is there another behaviour that is expected here? -- 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/issues/1091
Received on Tuesday, 1 December 2020 07:35:37 UTC