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

@annevk 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.

Right, but don't we have existing infrastructure for that which needs to meet the same constraints?

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

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

Received on Friday, 30 September 2022 16:03:59 UTC