Re: [whatwg/streams] ReadableStream constructor: standard text and reference implementation doesn't match (#917)

Turns out the WritableStream constructor in the reference implementation doesn't match either.

Some of these orderings are a little odd. For example, the WritableStream constructor looks up type, size and highWaterMark, and only then checks whether type is undefined or not. If I'm going to write a test for this, I'd rather the behaviour be something I can explain. @domenic would it be okay to reorder things so that parameters are in general checked right after being looked up?

-- 
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/917#issuecomment-378287576

Received on Tuesday, 3 April 2018 15:18:42 UTC