Re: [whatwg/streams] Unified error handling for WritableStream (#721)

ricea commented on this pull request.



> @@ -737,19 +720,13 @@ class WritableStreamDefaultController {
       () => {
         this._started = true;
 
-        if (stream._state === 'errored') {
-          WritableStreamRejectAbortRequestIfPending(stream);
-        } else {
-          WritableStreamHandleAbortRequestIfPending(stream);
-        }
-
         // This is a no-op if the stream was errored above.

It's no longer meaningful. I have removed it.

-- 
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/721#discussion_r109141087

Received on Friday, 31 March 2017 11:32:52 UTC