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

@yoavweiss commented on this pull request.



> +     <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>URL</a>'s <a for=url>origin</a> is not
+     <a>same origin</a> with <var>request</var>'s <a for=request>origin</a>, and
+     <var>response</var>'s <a for=response>status</a> otherwise.

Wait, we have https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params-has-cross-origin-redirects for NavTiming. I can see if/how it fits here. 

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

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

Received on Tuesday, 4 October 2022 11:48:41 UTC