Skip to content

Commit 0908c4b

Browse files
committed
Fix the warnings
1 parent 5818ed4 commit 0908c4b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

fetch.bs

+8-7
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ urlPrefix:https://w3c.github.io/hr-time/#;spec:hr-time
5252
urlPrefix:https://tc39.es/ecma262/#;type:dfn;spec:ecma-262
5353
url:realm;text:realm
5454
url:sec-list-and-record-specification-type;text:Record
55+
url:current-realm;text:current realm
5556
url:sec-parsetext;text:ParseText
5657
url:prod-Script;text:Script
5758
url:script-record;text:Script Record
@@ -3392,7 +3393,7 @@ and a <a for=/>response</a> <var>response</var>, is to run these steps:
33923393

33933394
<div algorithm>
33943395
<p>To <dfn>extract content-range values</dfn>, given a <a for=/>response</a> <var>response</var>
3395-
run these steps:<p>
3396+
run these steps:</p>
33963397

33973398
<ol>
33983399
<li><p>If <var>response</var>’s <a for=response>header list</a> <a for="header list">does not contain</a> `<code>Content-Range</code>`, then return failure.
@@ -3497,7 +3498,7 @@ run these steps:</p>
34973498
<li><p>Append <var>chunkBytes</var> to <var>bytes</var>.
34983499

34993500
<li>
3500-
<p>If <var>bytes</var>'s <a for="byte sequencue">length</a> is greater than 1024, then:
3501+
<p>If <var>bytes</var>'s <a for="byte sequence">length</a> is greater than 1024, then:
35013502

35023503
<ol>
35033504
<li><p>Truncate <var>bytes</var> from the end so that it only contains 1024 bytes.
@@ -3517,7 +3518,7 @@ run these steps:</p>
35173518

35183519
<li><p>Set <var>response</var>'s <a for=response>body</a>'s <a for=body>stream</a> to the result
35193520
of <var>response</var>'s <a for=response>body</a>'s <a for=body>stream</a>
3520-
<a for=TransformStream>piped through</a> <var>transformStream</var>.
3521+
<a for=ReadableStream>piped through</a> <var>transformStream</var>.
35213522
</ol>
35223523

35233524
<li><p>Wait until <var>first1024Bytes</var> is non-null or <var>response</var>'s
@@ -3532,8 +3533,8 @@ run these steps:</p>
35323533
<hr>
35333534

35343535
<div algorithm>
3535-
<p>To <dfn>determine if response is JavaScript and not JSON</dfn> given a <a for=/>response</a>
3536-
<var>response</var>, run these steps:</p>
3536+
<p>To <dfn>determine if response is JavaScript and not JSON</dfn>, given a <a for=/>request</a> <var>request</var>,
3537+
a <a for=/>response</a> <var>response</var>, run these steps:</p>
35373538

35383539
<ol>
35393540
<li><p>Let <var>responseBodyBytes</var> be null.
@@ -3550,7 +3551,7 @@ run these steps:</p>
35503551

35513552
<li><p>Let <var>processBodyError</var> be this step: set <var>responseBodyBytes</var> to failure.
35523553

3553-
<li><p><a>Fully read</a> <var>response</var>'s <a for=response>body</a> given <a>processBody</a>
3554+
<li><p><a>Fully read</a> <var>response</var>'s <a for=response>body</a> given <var>processBody</var>
35543555
and <var>processBodyError</var>.
35553556

35563557
<li><p>Wait for <var>responseBodyBytes</var> to be non-null.
@@ -3569,7 +3570,7 @@ run these steps:</p>
35693570
given <var>response</var>'s <a for=response>header list</a>.
35703571

35713572
<li>
3572-
<p>Let <var>encoding</var> be the result of <a>legacy extracting an encoding</a> given
3573+
<p>Let <var>encoding</var> be the result of <a>legacy extract an encoding</a> given
35733574
<var>potentialMIMETypeForEncoding</var> and <var>request</var>'s
35743575
<a for=request>no-cors JavaScript fallback encoding</a>.
35753576

0 commit comments

Comments
 (0)