Re: [whatwg/fetch] Editorial: Amend body reading to use no-promise version (PR #1569)

@annevk commented on this pull request.

Thanks! Looks good modulo nits.

>  
- <li><p>If <var>object</var>'s <a for=Body>body</a> is non-null, then set <var>promise</var> to the
- result of <a>fully reading body as promise</a> given <var>object</var>'s <a for=Body>body</a>.
+ <li><p>Let <var>successSteps</var> given a <a>byte sequence</a> <var>bytes</var> be to
+ <a for=/>resolve</a> <var>promise</var> given the result of calling <var>packageSteps</var>

```suggestion
 <a for=/>resolve</a> <var>promise</var> given the result of running <var>packageSteps</var>
```

> + <li><p>If <var>object</var>'s <a for=Body>body</a> is null, then return
+ the result of executing <var>packageSteps</var> given an empty <a for=/>byte sequence</a>.

```suggestion
 <li><p>If <var>object</var>'s <a for=Body>body</a> is null, then return
 <a>a promise resolved with</a> the result of running <var>packageSteps</var> given an empty
 <a for=/>byte sequence</a>.
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1569#pullrequestreview-1226030779
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1569/review/1226030779@github.com>

Received on Wednesday, 21 December 2022 12:54:25 UTC