Re: [streams] Have each of the stream and reader hold promises (#277)

> @@ -118,19 +182,11 @@ export function CreateReadableStreamEnqueueFunction(stream) {
>  
>  export function CreateReadableStreamErrorFunction(stream) {
>    return e => {
> -    if (stream._state === 'waiting') {
> -      stream._resolveReadyPromise(undefined);
> -    }
>      if (stream._state === 'readable') {
>        stream._queue = [];

Any reason not to move this to ErrorReadableStream?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/277/files#r24117322

Received on Wednesday, 4 February 2015 20:40:02 UTC