[whatwg/streams] Propagate errors from writableStream.abort(reason) (#896)

This was removed from the spec, in favor of making the [[storedError]] after abort always a TypeError. I believe this was because previously sometimes we had to synthesize a TypeError anyway, and we thought it would be best to be uniform. We should dig into the commit history to find out.

We should reverse this decision, and add back error propagation. This is crucial, in particular, for transform streams. https://github.com/whatwg/streams/pull/847 contains some examples whose results are surprising without this propagation.

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

Received on Wednesday, 7 March 2018 09:33:45 UTC