| Summary: | history.replaceState/location.replace incorrectly adds new entries to global history in Safari | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jason Davies <jason.davies> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | beidson |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Jason Davies
2015-03-01 10:57:34 PST
Interestingly, Chrome appears to have the same behaviour for history.replaceState (adding new entries to the history page) - but not for location.replace. The specs declare when the browser engine has to do with the session history, which is what is represented by the back button. And WebKit handles that correctly. I don't believe any spec defines what browsers have to do with their global history collections, as that's outside the scope of the engine. So I think you're reporting a Safari bug, as Safari decides what entires to show in its history menu. And Safari is not WebKit. |