Re: [whatwg/streams] WritableStream abort logic clean up (#655)

To add to https://github.com/whatwg/streams/pull/655#issuecomment-272812907,

Error priority (higher first) for .closed:

1. `controller.error()`
1. sink write rejection
1. `writer.abort()`

Error priority (higher first) for .ready: First invocation of these three above.

You can see this difference by looking at the recently added unit tests.


-- 
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/655#issuecomment-272834665

Received on Monday, 16 January 2017 11:15:18 UTC