- From: Takeshi Yoshino <notifications@github.com>
- Date: Mon, 06 Apr 2015 22:43:21 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 7 April 2015 05:43:55 UTC
Generated from code. Sorry it's not about strategy but about underlyingSource. For example, - CallReadableStreamPull() calls ErrorReadableStream(stream, e) when pullingPromise is rejected. Since the underlyingSource already has the controller so it can do a bad thing that is to call controller.error() and also return a rejected promise. If this happens, we hit the `Assert: stream@[[state]] is "readable"` since controller.error() has already errored the stream. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/commit/f6d78821a8e4142cf8e9b6c42700020111bb17ed#commitcomment-10596033
Received on Tuesday, 7 April 2015 05:43:55 UTC