← Back to release summary

Service Worker: Non-nullable FetchEvent#clientId

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

Summary

With this change FetchEvent#clientId will return an empty string instead of null when it isn't set, e.g., for a navigation request.

Standards & signals

View on chromestatus.com