Bug 230111

Summary: Match updated spec for history.pushState()/replaceState() URL rewriting
Product: WebKit Reporter: Domenic Denicola <d>
Component: HistoryAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Domenic Denicola
Reported 2021-09-09 10:36:00 PDT
Browsers were not interoperable about this and did not match the spec (which was too strict to be web-compatible). So, we settled on a compromise proposal in https://github.com/whatwg/html/pull/7044 . Tests: https://github.com/web-platform-tests/wpt/pull/30182 Notably: - Safari allows rewriting blob: URLs to new same-origin search or path, but should not - Safari allows rewriting data: URLs to a new search, but should not - Safari disallows rewriting the path of sandboxed iframe URLs, but should allow it
Attachments
Radar WebKit Bug Importer
Comment 1 2021-09-16 10:36:20 PDT
Note You need to log in before you can comment on or make changes to this bug.