diff --git a/docs/index.bs b/docs/index.bs index c5369e22..cb0e9510 100644 --- a/docs/index.bs +++ b/docs/index.bs @@ -1343,7 +1343,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe readonly attribute Promise<any> preloadResponse; readonly attribute DOMString clientId; readonly attribute DOMString resultingClientId; - readonly attribute DOMString targetClientId; + readonly attribute DOMString replacesClientId; void respondWith(Promise<Response> r); }; @@ -1354,7 +1354,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe Promise<any> preloadResponse; DOMString clientId = ""; DOMString resultingClientId = ""; - DOMString targetClientId = ""; + DOMString replacesClientId = ""; }; @@ -1391,9 +1391,9 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
-

{{FetchEvent/targetClientId|event.targetClientId}}

+

{{FetchEvent/replacesClientId|event.replacesClientId}}

- targetClientId attribute *must* return the value it was initialized to. When an event is created the attribute *must* be initialized to the empty string. + replacesClientId attribute *must* return the value it was initialized to. When an event is created the attribute *must* be initialized to the empty string.
@@ -2783,7 +2783,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe 1. Initialize |e|’s {{FetchEvent/preloadResponse}} to |preloadResponse|. 1. Initialize |e|'s {{FetchEvent/clientId}} attribute to |client|'s [=environment/id=]. 1. If |request| is a non-subresource request and |request|'s [=request/destination=] is not {{RequestDestination/"report"}}, initialize |e|'s {{FetchEvent/resultingClientId}} attribute to |reservedClient|'s [=environment/id=], and to the empty string otherwise. - 1. If |request| is a navigation request, initialize |e|'s {{FetchEvent/targetClientId}} attribute to |request|'s [=request/target client id=], and to the empty string otherwise. + 1. If |request| is a navigation request, initialize |e|'s {{FetchEvent/replacesClientId}} attribute to |request|'s [=request/replaces client id=], and to the empty string otherwise. 1. Dispatch |e| at |activeWorker|'s [=service worker/global object=]. 1. Invoke [=Update Service Worker Extended Events Set=] with |activeWorker| and |e|. 1. If |e|'s [=FetchEvent/respond-with entered flag=] is set, set |respondWithEntered| to true.