Bug 230111
| Summary: | Match updated spec for history.pushState()/replaceState() URL rewriting | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Domenic Denicola <d> |
| Component: | History | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/83203469>