- From: Takeshi Yoshino <notifications@github.com>
 - Date: Wed, 12 Apr 2017 04:53:55 -0700
 - To: whatwg/streams <streams@noreply.github.com>
 - Cc: Subscribed <subscribed@noreply.github.com>
 
Received on Wednesday, 12 April 2017 11:55:27 UTC
tyoshino commented on this pull request.
Finished reviewing the reference impl.
looks good.
>  }
 
 function WritableStreamUpdateBackpressure(stream, backpressure) {
-  assert(stream._state === 'writable');
+  assert(stream._state === 'writable' || stream._state === 'erroring');
When does this get called with state set to erroring?
>  
-  assert(state === 'writable');
+  assert(state === 'writable' || state === 'erroring');
Hmm, what was the rationale to have close() succeed while write() fails when the state is 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#pullrequestreview-32346965
Received on Wednesday, 12 April 2017 11:55:27 UTC