← Back to release summary

Service Worker client URL ignore history.pushState changes

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

Summary

Modify the service worker Client.url property to ignore document URL changes via history.pushState() and other similar history APIs. The Client.url property is intended to be the creation URL of the HTML document which ignores such changes.

Motivation

Match the spec described behavior implemented by Firefox and Safari to improve compatibility.

Standards & signals

View on chromestatus.com