Re: [whatwg/streams] Have WS's abort() fulfill, instead of reject, under error conditions (#901)

ricea commented on this pull request.



> @@ -3205,10 +3205,9 @@ writable stream is <a>locked to a writer</a>.
 
 <emu-alg>
   1. Let _state_ be _stream_.[[state]].
-  1. If _state_ is `"closed"`, return <a>a promise resolved with</a> *undefined*.
-  1. If _state_ is `"errored"`, return <a>a promise rejected with</a> _stream_.[[storedError]].
+  1. If _state_ is not `"closed"` or `"errored"`, return <a>a promise resolved with</a> *undefined*.

There shouldn't be a "not" here.

-- 
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/901#pullrequestreview-102209675

Received on Thursday, 8 March 2018 07:43:43 UTC