← Back to release summary

Propagate request origin and redirect chain in passthrough service workers.

Category
Service Worker
Type
Chromium catches up
Status
Enabled by default (Chrome 97)
Intent stage
Shipped

Summary

This feature will cause service workers that handle navigation requests by calling `fetch(evt.request)` to use the origin and redirect chain from `FetchEvent.request`. Previously this information was always set to the service worker's origin with no redirect chain. This information is used to control the origin header and SameSite cookies sent with the request to the server.

Standards & signals

View on chromestatus.com