@@ -4366,14 +4366,8 @@ steps:
4366
4366
4367
4367
<li><p> Set <var> request</var> 's <a for=request>response tainting</a> to "<code> opaque</code> ".
4368
4368
4369
- <li><p> Let <var> opaqueResponse</var> be the result of running <a>scheme fetch</a> given
4370
- <var> fetchParams</var> .
4369
+ <li><p> Return the result of running <a>scheme fetch</a> given <var> fetchParams</var> .
4371
4370
<!-- file URLs end up here as they are not same-origin typically. -->
4372
-
4373
- <li><p> If the <a>opaque-response-safelist check</a> given <var> request</var> and
4374
- <var> opaqueResponse</var> returns true, then return <var> opaqueResponse</var> .
4375
-
4376
- <li><p> Return a <a>network error</a> .
4377
4371
</ol>
4378
4372
4379
4373
<dt><var> request</var> 's <a for=request>current URL</a>' s <a for=url>scheme</a> is not an
@@ -4947,19 +4941,23 @@ these steps:
4947
4941
<li><p> Set <var> response</var> and <var> actualResponse</var> to the result of running
4948
4942
<a>HTTP-network-or-cache fetch</a> given <var> fetchParams</var> .
4949
4943
4950
- <li>
4951
- <p> If < var>request </var> 's <a for=request> response tainting </a> is " <code> cors </code> " and a
4952
- <a>CORS check</a> for <var> request</var> and <var> response</var> returns failure, then return a
4953
- <a>network error</a> .
4944
+ <li><p> If <var> request </var> 's <a for=request>response tainting</a> is " <code> opaque </code> ",
4945
+ < var>response </var> 's <a for=response>status </a> is not a <a>redirect status</a> , and the
4946
+ <a>opaque-response-safelist check</a> given <var> request</var> and <var> response</var> returns
4947
+ false, then return a <a>network error</a> .
4954
4948
4955
- <p class="note no-backref"> As the <a>CORS check </a> is not to be applied to
4956
- <a for=/>responses </a> whose <a for=response>status</a> is 304 or 407, or <a for=/>responses</a>
4957
- from a service worker for that matter, it is applied here .
4949
+ <li><p> If <var> request </var> 's <a for=request>response tainting </a> is " <code> cors </code> " and
4950
+ the <a>CORS check </a> for <var> request </var> and <var> response </var> returns failure, then return
4951
+ a <a>network error</a> .
4958
4952
4959
4953
<li><p> If the <a>TAO check</a> for <var> request</var> and <var> response</var> returns failure,
4960
4954
then set <var> request</var> 's <a for=request>timing allow failed flag</a> .
4961
4955
</ol>
4962
4956
4957
+ <p class=note> As the <a>opaque-response-safelist check</a> , <a>CORS check</a> , and
4958
+ <a>TAO check</a> are not to be applied to <a for=/>responses</a> whose <a for=response>status</a>
4959
+ is 304 or 407, or to <a for=/>responses</a> from a service worker, they are applied here.
4960
+
4963
4961
<li>
4964
4962
<p> If either <var> request</var> 's <a for=request>response tainting</a> or <var>response</var>' s
4965
4963
<a for=response>type</a> is "<code> opaque</code> ", and the
0 commit comments