Skip to content
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

Update Critical-CH restart time in navigation params #153

Merged
merged 12 commits into from
Jun 7, 2023
8 changes: 8 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,18 @@ At [=populating a session history entry=], in step 6 after substep 7 insert the
<li>If |shouldReloadForCriticalClientHints| then:
<ol>
<li>Set <var>navigable</var>'s [=has reloaded for Critical-CH=] to `true`.
<li>Set <var>navigationParams</var>'s [=critical ch restart time=] to be the [=current high resolution time=].
<li><a spec=HTML>reload</a> <var>navigable</var>.
arichiv marked this conversation as resolved.
Show resolved Hide resolved
</ol>
</ol>

At [=navigation params=], append the following:
<dl>
<dt><dfn>critical ch restart time</dfn></dt>
arichiv marked this conversation as resolved.
Show resolved Hide resolved
<dd>a {{DOMHighResTimeStamp}} used for [=creating the navigation timing entry=] for the new <code>Document</code></dd>
</dl>


Service Worker initialization {#service-worker-init}
-----------
At <a spec=HTML>set up a worker environment settings object</a>,
Expand Down