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
<rdar://problem/83203469>