diff --git a/prefetch.bs b/prefetch.bs index a151fe4..cd5e4e9 100644 --- a/prefetch.bs +++ b/prefetch.bs @@ -121,6 +121,8 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/ text: anonymization policy; url: sl-candidate-anonymization-policy for: speculative load candidate text: URL; url: sl-candidate-url + urlPrefix: webappapis.html + text: navigation and traversal task source spec: fetch; urlPrefix: https://fetch.spec.whatwg.org/ type: dfn text: network partition key; url: network-partition-key @@ -780,6 +782,33 @@ This section contains patches to [[NAVIGATION-TIMING]]. This section contains patches to [[SERVICE-WORKERS]]. +
+ When a [=service worker client=] has a non-null [=environment/active service worker=] whose [=environment/is navigational prefetch client=] is false, it is said to be controlled by that [=environment/active service worker=]. ++
Clearing prefetch records in this way avoids a situation where a prefetched response was fetched with the pre-update service worker (newestWorker), but then the navigation results in a client that is controlled by the post-update service worker (|worker|), which could have unexpected consequences for the web developer.
+ 1. Invoke Install with job, |worker|, and registration. +