Re: [whatwg/fetch] Move `finalize and report timing` to controller (PR #1413)

@annevk commented on this pull request.



> +<p>A <dfn export>fetch resource info</dfn> is a <a for=/>struct</a> used to maintain
+information needed by <cite>Resource Timing</cite> and <cite>Navigation Timing</cite>. It has the
+following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
+
+<dl>
+ <dt><dfn export for="fetch resource info">encoded body size</dfn> (default 0)
+ <dt><dfn export for="fetch resource info">decoded body size</dfn> (default 0)
+ <dd>A number.
+</dl>

Could you explain how that would be avoided? Wouldn't you have to either add a field here or on response, both in Fetch?

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

Message ID: <whatwg/fetch/pull/1413/review/948634913@github.com>

Received on Thursday, 21 April 2022 13:35:28 UTC