New issue
Advanced search Search tips

Issue 917784 link

Starred by 2 users

Issue metadata

Status: Duplicate
Owner: ----
Closed: Jan 7
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

history.replaceState adds a new entry every time to global history

Reported by porsa...@gmail.com, Dec 25

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15

Steps to reproduce the problem:
1. visit maps.google.com 
2. move the map around 10 times with a small pause to let the url update between each
3. open the history tab

What is the expected behavior?
A single history entry with the latest url state 

What went wrong?
Every single time history.replaceState was called chrome added a new entry to the global history. This blows up global history, and is horrible for users. Unfortunately chromium isn't the only browser doing like this, but it would be great if it could set an example for the other browsers in fixing it. I recently switched to chrome because safari had grinded to a halt due to my history blowing up because of this very issue. I now notice chrome does the same, and I suppose it's only a matter of time before it too will become slow.

Did this work before? N/A 

Chrome version: *  Channel: stable
OS Version: OS X 10.14.2
Flash Version:
 
Labels: Needs-Milestone
Components: -Blink UI>Browser>Navigation
Mergedinto: 621150
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment