Re: [fetch] Replace byte stream with ReadableStream. (#200)

> +<ol>
> + <li><p>If this object is <span title=concept-Body-disturbed>disturbed</span>
> + or <span title=concept-Body-locked>locked</span>, return a new promise rejected with a
> + <code>TypeError</code>.
> +
> + <li><p>Let <var>stream</var> be <span title=concept-Body-body>body</span>'s
> + <span title=concept-body-stream>stream</span> if <span title=concept-Body-body>body</span> is
> + non-null, or an <span title=concept-empty-ReadableStream>empty</span>
> + <code title=concept-ReadableStream>ReadableStream</code> object otherwise.
> +
> + <li><p>Let <var>reader</var> be the result of <span title=concept-get-reader>getting</span>
> + a reader from <var>stream</var>. If that threw an exception, return a new promise rejected
> + with that exception.
> +
> + <li><p>Let <var>promise</var> be the result of
> + <span title=concept-read-all-bytes-from-ReadableStream>reading</span> all bytes from

Similarly I would link "reading all bytes"

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/200/files#r51462782

Received on Monday, 1 February 2016 18:57:48 UTC