← Back to release summary

FetchEvent.clientId attribute

Category
Network / Connectivity
Type
New or changed feature
Status
Enabled by default (Chrome 49)
Intent stage
None

Summary

A read-only attribute that indicates the id of the Client object that initiated this fetch request. For a navigation request and worker (dedicated worker and shared worker) script fetch, this attribute returns null.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/clientId

View on chromestatus.com