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

ricea commented on this pull request.



> @@ -567,7 +542,7 @@ function WritableStreamDefaultWriterClose(writer) {
     stream._closeRequest = closeRequest;
   });
 
-  if (stream._backpressure === true) {
+  if (stream._backpressure === true && !stream._pendingError) {

_pendingError is gone in favour of state 'erroring'.

-- 
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_r109140924

Received on Friday, 31 March 2017 11:31:39 UTC