@@ -2266,6 +2266,9 @@ this is also tracked internally using the request's <a for=request>timing allow
2266
2266
<dfn export for=response>service worker timing info</dfn> (null or a
2267
2267
<a for=/>service worker timing info</a> ), which is initially null.
2268
2268
2269
+ <p> A <a for=/>response</a> has an associated <dfn for=response>has-cross-origin-redirects</dfn>
2270
+ (a boolean), which is initially false.
2271
+
2269
2272
<hr>
2270
2273
2271
2274
<p> A <a for=/>response</a> whose
@@ -4330,6 +4333,9 @@ steps:
4330
4333
<!-- If you are ever tempted to move this around, carefully consider responses from about URLs,
4331
4334
blob URLs, service workers, HTTP cache, HTTP network, etc. -->
4332
4335
4336
+ <li><p> If <var> request</var> has a <a for=request>redirect-tainted origin</a> , then set
4337
+ <var> internalResponse</var> 's <a for=response>has-cross-origin-redirects</a> to true.
4338
+
4333
4339
<li><p> If <var> request</var> 's <a for=request>timing allow failed flag</a> is unset, then set
4334
4340
<var> internalResponse</var> 's <a for=response>timing allow passed flag</a> .
4335
4341
@@ -4471,12 +4477,17 @@ steps:
4471
4477
4472
4478
<p class=note> This covers the case of <var> response</var> being a <a>network error</a> .
4473
4479
4480
+ <li><p> Let <var> responseStatus</var> be 0 if <var> fetchParams</var> 's
4481
+ <a for="fetch params">request</a> 's <a for=request>mode</a> is "<code> navigate</code> " and
4482
+ <var> response</var> 's <a for=response>has-cross-origin-redirects</a> is true; otherwise
4483
+ <var> response</var> 's <a for=response>status</a> .
4484
+
4474
4485
<li><p> If <var> fetchParams</var> 's <a for="fetch params">request</a>' s
4475
4486
<a for=request>initiator type</a> is not null, then
4476
4487
<a for=/>mark resource timing</a> given <var> timingInfo</var> , <var> request</var> 's
4477
4488
<a for=request>URL</a> , <a for="fetch params">request</a> 's
4478
- <a for=request>initiator type</a> , <var> global</var> , <var> cacheState</var> , and
4479
- <var> bodyInfo</var> .
4489
+ <a for=request>initiator type</a> , <var> global</var> , <var> cacheState</var> ,
4490
+ <var> bodyInfo</var> , and <var> responseStatus </var> .
4480
4491
</ol>
4481
4492
4482
4493
<li>
0 commit comments