← Back to release summary

Service Worker: Change the fetch API request flags (mode, credentials and redirect) for navigation requests.

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

Summary

The flags of request objects which are passed to the service worker's Fetch Event handler for navigation requests will be changed. Current: mode: "no-cors" credentials: "same-origin" redirect: "follow" (available since in M46) From M47: mode: "same-origin" credentials: "include" redirect: "manual"

Standards & signals

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

View on chromestatus.com