Skip to content

Commit 0a041eb

Browse files
authored
Move full timing info setting outside of processResponseEndOfBody steps
The full timing info is there for navigation timing, which is already available at document creation (which happens right after the handover). Implementations have and WPT tests the correct behavior already.
1 parent 5261b51 commit 0a041eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fetch.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4843,17 +4843,17 @@ steps:
48434843
<p>The user agent may decide to expose `<code>Server-Timing</code>` headers to non-secure contexts
48444844
requests as well.
48454845

4846+
<li><p>If <var>fetchParams</var>'s <a for="fetch params">request</a>'s
4847+
<a for=request>destination</a> is "<code>document</code>", then set <var>fetchParams</var>'s
4848+
<a for="fetch params">controller</a>'s <a for="fetch controller">full timing info</a> to
4849+
<var>fetchParams</var>'s <a for="fetch params">timing info</a>.
4850+
48464851
<li>
48474852
<p>Let <var>processResponseEndOfBody</var> be the following steps:
48484853

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

4852-
<li><p>If <var>fetchParams</var>'s <a for="fetch params">request</a>'s
4853-
<a for=request>destination</a> is "<code>document</code>", then set <var>fetchParams</var>'s
4854-
<a for="fetch params">controller</a>'s <a for="fetch controller">full timing info</a> to
4855-
<var>fetchParams</var>'s <a for="fetch params">timing info</a>.
4856-
48574857
<li>
48584858
<p>Set <var>fetchParams</var>'s <a for="fetch params">controller</a>'s
48594859
<a for="fetch controller">report timing steps</a> to the following steps given a

0 commit comments

Comments
 (0)