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.

I think so, but now I wonder why this is different from the other measurements. If this is specifically for navigation timing it should probably follow the current model for those. cc @noamr 

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

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

Received on Thursday, 29 September 2022 16:27:38 UTC