Re: [streams] Reader fixups (#262)

> @@ -558,8 +558,13 @@ Instances of <code>ReadableStream</code> are created with the internal slots des
>  </div>
>  
>  <ol>
> -  <li> If <b>this</b>@\[[reader]] is not <b>undefined</b>, return <b>this</b>@\[[reader]]@\[[lockReleased]].
> -  <li> Return <b>this</b>@\[[readyPromise]].
> +  <li> If <b>this</b>@\[[readableStreamReader]] is not <b>undefined</b>, return the result of transforming
> +    <b>this</b>@\[[readableStreamReader]]@\[[lockReleased]] by a fulfillment handler that returns <b>this</b>@\[[readyPromise]].
> +  <li> Return the result of transforming <b>this</b>@\[[readyPromise]] by the following fulfillment handler:
> +    <ol>
> +      <li> If <b>this</b>@\[[readableStreamReader]] is <b>undefined</b>, return <b>undefined</b>.
> +      <li> Otherwise, return <b>this</b>@\[[readableStreamReader]]@\[[lockReleased]].
> +    </ol>

#268 may improve this point a little. Please take a look.

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

Received on Tuesday, 20 January 2015 13:27:12 UTC