← Back to release summary

Service worker: FetchEvent.resultingClientId

Category
Service Worker
Type
New or changed feature
Status
Enabled by default (Chrome 72)
Intent stage
None

Summary

FetchEvent.resultingClientId, set on navigation requests or requests for workers, is the ID of the client, either a document or a worker that is created by the request. This is useful for associating the main resource request for a document with subsequent subresource requests from the document for logging and metrics purposes.

Standards & signals

Samples: https://github.com/web-platform-tests/wpt/blob/master/service-workers/service-worker/navigation-redirect.https.html

View on chromestatus.com