[whatwg/streams] TransformStream: use throw instead of Promise.reject() in promise handlers (#804)

In a few places the TransformStream implementation returns a rejection from a a promise handler. Per https://github.com/whatwg/streams/pull/799#discussion_r140462821 it would be better to throw in these cases instead.

-- 
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/804

Received on Friday, 22 September 2017 11:08:24 UTC