Skip to content

Commit 8659a25

Browse files
authored
Expose a mechanism for hiding internal timing info
This is needed for whatwg/html#7104 and #1215.
1 parent b2f04e2 commit 8659a25

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

fetch.bs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,13 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
231231
<dd>Null or a <a for=/>connection timing info</a>.
232232
</dl>
233233

234+
<p>To
235+
<dfn export lt="create an opaque timing info|creating an opaque timing info">create an opaque timing info</dfn>,
236+
given a <a for=/>fetch timing info</a> <var>timingInfo</var>, return a new
237+
<a for=/>fetch timing info</a> whose <a for="fetch timing info">start time</a> and
238+
<a for="fetch timing info">post-redirect start time</a> are <var>timingInfo</var>'s
239+
<a for="fetch timing info">start time</a>.
240+
234241
<p>To <dfn>update timing info from stored response</dfn>, given a
235242
<a for=/>connection timing info</a> <var>timingInfo</var> and a <a for=/>response</a>
236243
<var>response</var>, perform the following steps:
@@ -4131,10 +4138,8 @@ steps:
41314138
<p>If <var>response</var>'s <a for=response>timing allow passed flag</a> is not set, then:
41324139

41334140
<ol>
4134-
<li><p>Set <var>timingInfo</var> to a new <a for=/>fetch timing info</a> whose
4135-
<a for="fetch timing info">start time</a> and
4136-
<a for="fetch timing info">post-redirect start time</a> are <var>timingInfo</var>'s
4137-
<a for="fetch timing info">start time</a>.
4141+
<li><p>Set <var>timingInfo</var> to a the result of <a>creating an opaque timing info</a> for
4142+
<var>timingInfo</var>.
41384143

41394144
<li><p>Set <var>cacheState</var> to the empty string.
41404145
</ol>

0 commit comments

Comments
 (0)