Re: [whatwg/fetch] Initial resource timing integration. (#1185)

@noamr commented on this pull request.



> @@ -3952,8 +4082,9 @@ these steps:
      <a for="filtered response">internal response</a> is <var>actualResponse</var>.
 
      <dt>"<code>follow</code>"
-     <dd><p>Set <var>response</var> to the result of running <a>HTTP-redirect fetch</a> given
-     <var>fetchParams</var> and <var>response</var>.
+     <dd><p>Set <var>timingInfo</var>'s <a for="fetch timing info">redirect start time</a> to
+      <var>timingInfo</var>'s <a for="fetch timing info">fetch start time</a>, and set <var>response</var> to
+      the result of running <a>HTTP-redirect fetch</a> given <var>fetchParams</var> and <var>response</var>.

For now, changed "report resource timing"to return early if the destination is `document`. Other navigation requests, e.g. iframes, should be reported as resource timing. What else is needed for navigations?

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

Received on Sunday, 7 March 2021 07:54:43 UTC