Re: [whatwg/fetch] Pass in response status to mark resource timing (PR #1468)

@abinpaul1 commented on this pull request.



> @@ -4400,12 +4406,17 @@ steps:
 
       <p class=note>This covers the case of <var>response</var> being a <a>network error</a>.
 
+     <li><p>Let <var>responseStatus</var> be 0 if <var>fetchParams</var>'s
+     <a for="fetch params">request</a>'s <a for=request>mode</a> is "<code>navigate</code>" and
+     <var>response</var>'s <a for=response>has-cross-origin-redirects</a> is true; otherwise
+     <var>response</var>'s <a for=response>status</a>.

As noted in https://github.com/whatwg/fetch/pull/1468#discussion_r931266882, wouldn't the response be a filtered response here thereby protecting the response status?


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1468#discussion_r1001985722
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1468/review/1151249601@github.com>

Received on Friday, 21 October 2022 16:35:01 UTC