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

domenic commented on this pull request.



> @@ -568,6 +568,8 @@ ReadableStream(<var>underlyingSource</var> = {}, { <var>size</var>, <var>highWat
 </div>
 
 <emu-alg>
+  1. If _writable_ is *undefined* or _readable_ is *undefined*, throw a *TypeError* exception indicating that undefined
+     values are not permitted.

Sorry, I was confused, readable obviously exists. And if `pipeTo` is overridden, it is observably different whether we throw an error for writable or not. Hmm.

-- 
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#discussion_r130408481

Received on Monday, 31 July 2017 17:32:26 UTC