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

@noamr 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>

Actually, I think we might add more things to this in the future, possibly the server timing headers if we decide to make them survive across service-workers. So I'd prefer to keep a struct for this data to avoid patching 3 specs every time we add a field to it, if that's OK

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

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

Received on Thursday, 21 April 2022 13:22:33 UTC