Re: [xhr] Replace byte stream with ReadableStream (#61)

> -     <span data-anolis-spec=fetch title=concept-response-body>body</span>'s
> -     <span data-anolis-spec=fetch title=concept-body-length>length</span>.
> -    </ol>
> +     <li>
> +      <p>Let <var>read</var> be the result of calling
> +      <code data-anolis-spec=streams>ReadFromReadableStreamReader</code>(<var>reader</var>).
> +
> +      <p>When <var>read</var> is fulfilled with an object whose <code>done</code> property is false
> +      and whose <code>value</code> property is a <code>Uint8Array</code> object, run these
> +      subsubsubsteps and then run the above subsubstep again:
> +
> +      <ol>
> +       <li><p>Append the <code>value</code> property to <span>received bytes</span>.
> +
> +       <li><p>If not roughly 50ms have passed since these subsubsubsteps were last invoked,
> +       terminate these subsubsubsteps.

"then terminate" (I guess you get the idea, if you could apply this consistently to the statements you changed that'd be great.)

---
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/xhr/pull/61/files/ee222f18a08177b48b3688e25ad0caa5edd22559#r56631633

Received on Friday, 18 March 2016 09:39:09 UTC