[whatwg/streams] Throw if undefined streams are passed to pipeThrough (#759)

pipeThrough() is intentionally flexible about what arguments it will
accept, but this can make it hard to diagnose when it's called
incorrectly. To catch common mistakes, throw an exception if the
readable or writable arguments are undefined.

Closes #756.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/759

-- Commit Summary --

  * Throw if undefined streams are passed to pipeThrough

-- File Changes --

    M index.bs (2)
    M reference-implementation/lib/readable-stream.js (4)

-- Patch Links --

https://github.com/whatwg/streams/pull/759.patch
https://github.com/whatwg/streams/pull/759.diff

-- 
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/pull/759

Received on Friday, 28 July 2017 10:08:29 UTC