Bug 230111 - Match updated spec for history.pushState()/replaceState() URL rewriting
Summary: Match updated spec for history.pushState()/replaceState() URL rewriting
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2021-09-09 10:36 PDT by Domenic Denicola
Modified: 2024-01-24 20:44 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Domenic Denicola 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
Comment 1 Radar WebKit Bug Importer 2021-09-16 10:36:20 PDT
<rdar://problem/83203469>