@@ -52,6 +52,7 @@ urlPrefix:https://w3c.github.io/hr-time/#;spec:hr-time
52
52
urlPrefix:https://tc39.es/ecma262/#;type:dfn;spec:ecma-262
53
53
url:realm;text:realm
54
54
url:sec-list-and-record-specification-type;text:Record
55
+ url:current-realm;text:current realm
55
56
url:sec-parsetext;text:ParseText
56
57
url:prod-Script;text:Script
57
58
url:script-record;text:Script Record
@@ -3392,7 +3393,7 @@ and a <a for=/>response</a> <var>response</var>, is to run these steps:
3392
3393
3393
3394
<div algorithm>
3394
3395
<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>
3396
3397
3397
3398
<ol>
3398
3399
<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>
3497
3498
<li><p> Append <var> chunkBytes</var> to <var> bytes</var> .
3498
3499
3499
3500
<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:
3501
3502
3502
3503
<ol>
3503
3504
<li><p> Truncate <var> bytes</var> from the end so that it only contains 1024 bytes.
@@ -3517,7 +3518,7 @@ run these steps:</p>
3517
3518
3518
3519
<li><p> Set <var> response</var> 's <a for=response>body</a>' s <a for=body>stream</a> to the result
3519
3520
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> .
3521
3522
</ol>
3522
3523
3523
3524
<li><p> Wait until <var> first1024Bytes</var> is non-null or <var> response</var> 's
@@ -3532,8 +3533,8 @@ run these steps:</p>
3532
3533
<hr>
3533
3534
3534
3535
<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>
3537
3538
3538
3539
<ol>
3539
3540
<li><p> Let <var> responseBodyBytes</var> be null.
@@ -3550,7 +3551,7 @@ run these steps:</p>
3550
3551
3551
3552
<li><p> Let <var> processBodyError</var> be this step: set <var> responseBodyBytes</var> to failure.
3552
3553
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 >
3554
3555
and <var> processBodyError</var> .
3555
3556
3556
3557
<li><p> Wait for <var> responseBodyBytes</var> to be non-null.
@@ -3569,7 +3570,7 @@ run these steps:</p>
3569
3570
given <var> response</var> 's <a for=response>header list</a> .
3570
3571
3571
3572
<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
3573
3574
<var> potentialMIMETypeForEncoding</var> and <var> request</var> 's
3574
3575
<a for=request>no-cors JavaScript fallback encoding</a> .
3575
3576
0 commit comments