Skip to content

Move full timing info setting outside of processResponseEndOfBody steps #1842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4843,17 +4843,17 @@ steps:
<p>The user agent may decide to expose `<code>Server-Timing</code>` headers to non-secure contexts
requests as well.

<li><p>If <var>fetchParams</var>'s <a for="fetch params">request</a>'s
<a for=request>destination</a> is "<code>document</code>", then set <var>fetchParams</var>'s
<a for="fetch params">controller</a>'s <a for="fetch controller">full timing info</a> to
<var>fetchParams</var>'s <a for="fetch params">timing info</a>.

<li>
<p>Let <var>processResponseEndOfBody</var> be the following steps:

<ol>
<li><p>Let <var>unsafeEndTime</var> be the <a>unsafe shared current time</a>.

<li><p>If <var>fetchParams</var>'s <a for="fetch params">request</a>'s
<a for=request>destination</a> is "<code>document</code>", then set <var>fetchParams</var>'s
<a for="fetch params">controller</a>'s <a for="fetch controller">full timing info</a> to
<var>fetchParams</var>'s <a for="fetch params">timing info</a>.

<li>
<p>Set <var>fetchParams</var>'s <a for="fetch params">controller</a>'s
<a for="fetch controller">report timing steps</a> to the following steps given a
Expand Down