@@ -3299,38 +3299,42 @@ retried over the original URL.
3299
3299
3300
3300
<ol>
3301
3301
<li>
3302
- <p> If one or more of the following conditions are met, return:
3302
+ <p> If any of the following are true:
3303
+
3303
3304
<ul>
3304
- <li><p><var> request</var> 's <a for="request">destination</a> is not "<code> document</code> "
3305
+ <li><p><var> request</var> 's <a for="request">destination</a> is not "<code> document</code> ";
3305
3306
3306
- <li><p><var> request</var> 's <a for="request">method</a> is not "<code> GET</code> "
3307
+ <li><p><var> request</var> 's <a for="request">method</a> is not "<code> GET</code> ";
3307
3308
3308
3309
<li><p><var> request</var> 's <a for="request">URL</a>' s <a for="url">scheme</a> is not
3309
- "<code> http</code> "
3310
+ "<code> http</code> "; or
3310
3311
3311
3312
<li><p><var> request</var> 's <a for="request">URL</a>' s <a for="url">origin</a> is exempted from
3312
- upgrades in an <a>implementation-defined</a> way.
3313
+ upgrades in an <a>implementation-defined</a> way,
3313
3314
</ul>
3315
+
3316
+ <p> then return.
3314
3317
</li>
3315
3318
3316
3319
<li>
3317
- <p> If <var> request</var> 's <a for=request>HTTPS upgrade fallback URL</a> is non-null, set
3320
+ <p> If <var> request</var> 's <a for=request>HTTPS upgrade fallback URL</a> is non-null, then set
3318
3321
<a for=request>is HTTPS upgrade</a> to false and <a for=request>HTTPS upgrade fallback URL</a> to
3319
3322
null and return.
3320
3323
3321
3324
<p class=note> This is a fallback request that cannot be upgraded again.
3322
3325
3323
3326
<li>
3324
3327
<p> Otherwise:
3325
- <ul>
3328
+
3329
+ <ol>
3326
3330
<li><p> Set <a for=request>HTTPS upgrade fallback URL</a> to <var> request</var> 's
3327
3331
<a for="request">URL</a> .
3328
3332
3329
3333
<li><p> Set <var> request</var> 's <a for="request">URL</a>' s <a for="url">scheme</a> to
3330
3334
"<code> https</code> ".
3331
3335
3332
3336
<li><p> Set <a for=request>is HTTPS upgrade</a> to true.
3333
- </ul >
3337
+ </ol >
3334
3338
</li>
3335
3339
</ol>
3336
3340
</div>
@@ -3352,13 +3356,13 @@ retried over the original URL.
3352
3356
<p class=note> This means that the upgrade failed and initiates a fallback load.
3353
3357
3354
3358
<ol>
3355
- <li><p> Let <var> serializedFallbackUrl </var> be the <var> request</var> 's
3359
+ <li><p> Let <var> serializedFallbackURL </var> be the <var> request</var> 's
3356
3360
<a for=request>HTTPS upgrade fallback URL</a> , <a lt="URL serializer">serialized</a> and
3357
3361
<a>isomorphic encoded</a> .
3358
3362
3359
3363
<li><p> Let <var> fallbackResponse</var> be a new <a for=/>response</a> whose
3360
3364
<a for=response>header list</a> is «
3361
- (`<code> Location</code> `, <var> serializedFallbackUrl </var> ) » and
3365
+ (`<code> Location</code> `, <var> serializedFallbackURL </var> ) » and
3362
3366
<a for="response">status</a> is 307.
3363
3367
3364
3368
<li><p> Return <var> fallbackResponse</var> .
@@ -6135,7 +6139,7 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
6135
6139
6136
6140
<ol>
6137
6141
<li><p> If <var> connection</var> is failure, then return the result of running
6138
- <a>HTTPS upgrade fallback</a> given <var> request</var> and <a>network error</a> .
6142
+ <a>HTTPS upgrade fallback</a> given <var> request</var> and a <a>network error</a> .
6139
6143
6140
6144
<li><p> Set <var> timingInfo</var> 's <a for="fetch timing info">final connection timing info</a> to
6141
6145
the result of calling <a>clamp and coarsen connection timing info</a> with
0 commit comments