New issue
Advanced search Search tips

Issue 663541 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 307072
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

location.replace creates a new history state

Project Member Reported by mkhatib@google.com, Nov 8 2016

Issue description

Chrome Version (from "Settings > About Google Chrome"): 54.0.2840.91
Device Type: (iPad 2, iPhone 4, etc): iPhone 6S
URLs (if applicable): http://output.jsbin.com/yifuwe/quiet


Behavior in Safari (if applicable):
Safari does not add history states and just replace the current URL.


Steps to reproduce:
(1) Make few calls to location.replace API to different #hashes (the URL above has 3 buttons that does location.replace)
(2) Notice that you can now click back to go to previous hashes states.

Expected result:
Browser should not push new states and user shouldn't be able to go back to previous replaced locations.

Actual result:
Browser adds states and user is able to go back/forward between them.

This happens only on iOS Chrome.
 
Components: UI>Browser>Navigation
Labels: Type-Bug
Owner: kkhorimoto@chromium.org
Status: Assigned (was: Unconfirmed)
Mergedinto: 307072
Status: Duplicate (was: Assigned)

Sign in to add a comment