Re: [whatwg/streams] Test: "default ReadableStream getReader() should only accept mode:undefined" (#1122)

The specification used to throw a `RangeError` (see [snapshot of 6 April 2020](https://streams.spec.whatwg.org/commit-snapshots/cfcd303a38158e4ec3837d1028158c88d505c35d/#rs-get-reader)), but this was changed to a `TypeError` as a result of the WebIDL rewrite. So it's not really "incorrect", just "no longer correct". 😉

-- 
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/1122#issuecomment-817837104

Received on Monday, 12 April 2021 14:01:15 UTC