Skip to content

Commit 6d4f683

Browse files
noamrpmeenan
authored andcommitted
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 3851442 commit 6d4f683

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
@@ -4851,17 +4851,17 @@ steps:
48514851
<p>The user agent may decide to expose `<code>Server-Timing</code>` headers to non-secure contexts
48524852
requests as well.
48534853

4854+
<li><p>If <var>fetchParams</var>'s <a for="fetch params">request</a>'s
4855+
<a for=request>destination</a> is "<code>document</code>", then set <var>fetchParams</var>'s
4856+
<a for="fetch params">controller</a>'s <a for="fetch controller">full timing info</a> to
4857+
<var>fetchParams</var>'s <a for="fetch params">timing info</a>.
4858+
48544859
<li>
48554860
<p>Let <var>processResponseEndOfBody</var> be the following steps:
48564861

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

4860-
<li><p>If <var>fetchParams</var>'s <a for="fetch params">request</a>'s
4861-
<a for=request>destination</a> is "<code>document</code>", then set <var>fetchParams</var>'s
4862-
<a for="fetch params">controller</a>'s <a for="fetch controller">full timing info</a> to
4863-
<var>fetchParams</var>'s <a for="fetch params">timing info</a>.
4864-
48654865
<li>
48664866
<p>Set <var>fetchParams</var>'s <a for="fetch params">controller</a>'s
48674867
<a for="fetch controller">report timing steps</a> to the following steps given a

0 commit comments

Comments
 (0)