@@ -6122,7 +6122,7 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
6122
6122
</ol>
6123
6123
6124
6124
<li>
6125
- <p> Let |buffer| be an empty buffer that can have bytes appended to it .
6125
+ <p> Let |buffer| be an empty [=byte sequence=] .
6126
6126
6127
6127
<p class="note"> This represents an internal buffer inside the network layer of the user agent.
6128
6128
@@ -6146,28 +6146,7 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
6146
6146
[=task destination=] .
6147
6147
6148
6148
<ol>
6149
- <li><p> Let |available| be the size of |buffer|.
6150
-
6151
- <li><p> Let |desiredSize| be |available|.
6152
-
6153
- <li><p> If |stream|'s [=ReadableStream/current BYOB request view=] is non-null, then set
6154
- |desiredSize| to |stream|'s [=ReadableStream/current BYOB request view=]' s
6155
- [=BufferSource/byte length=] .
6156
-
6157
- <li><p> Let |extractSize| be the smaller value of |available| and |desiredSize|.
6158
-
6159
- <li><p> Let <var> bytes</var> be the result of extracting |extractSize| of bytes from
6160
- <var> buffer</var> .
6161
-
6162
- <li><p> If |stream|s [=ReadableStream/current BYOB request view=] is non-null, then
6163
- [=ArrayBufferView/write=] |bytes| into |stream|'s
6164
- [=ReadableStream/current BYOB request view=] , and set |view| to |stream|'s
6165
- [=ReadableStream/current BYOB request view=] .
6166
-
6167
- <li> Otherwise, set |view| to the result of [=ArrayBufferView/create|creating=] a
6168
- {{Uint8Array}} from |bytes| in |stream|'s [=relevant Realm=] .
6169
-
6170
- <li><p> [=ReadableStream/Enqueue=] |view| into |stream|.
6149
+ <li><p> [=ReadableStream/Pull from bytes=] |buffer| into |stream|.
6171
6150
6172
6151
<li><p> If |stream| is [=ReadableStream/errored=] , then [=fetch controller/terminate=]
6173
6152
|fetchParams|'s [=fetch params/controller=] .
0 commit comments