- From: Noam Rosenthal <notifications@github.com>
- Date: Wed, 03 Mar 2021 08:47:26 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 3 March 2021 16:47:39 UTC
@noamr commented on this pull request. > </ol> +<h3 id=fetch-report-resource-timing>Report Resource Timing</h3> +<p>To <dfn>report resource timing</dfn>, given <a for=/>fetch params</a> <var>fetchParams</var> and <a for=/>response</a> +<var>response</var>, perform the following steps: +<ol> + <li>Let <var>globalObject</var> be <var>fetchParams</var>'s <a for="fetch params">request</a>'s + <a for=request>client</a>'s <a for="environment settings object">global object</a>. + <li>Let <var>timingInfo</var> be <var>fetchParams</var>'s <a for="fetch params">timing info</a>. + <li>Let <var>requestedURL</var> be <var>response</var>'s <a for=response>URL list</a>'s first item. + <li>If <var>response</var>'s <a for=response>timing allow passed flag</a> is not set, set + <var>timingInfo</var> to a new <a for=/>fetch timing info</a>, with its + <a for="fetch timing info">fetch start time</a> set to <var>timingInfo</var>'s There isn't. And note that I'm actually not copying the struct, but rather just the 2-3 values that are TAO-safe, the rest defaulting to zero. -- 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_r586584600
Received on Wednesday, 3 March 2021 16:47:39 UTC