[Webkit-unassigned] [Bug 80697] New: Broken behavior for back-button after history.pushState() + location.replace()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 9 04:37:02 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=80697
Summary: Broken behavior for back-button after
history.pushState() + location.replace()
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: shogun70 at westnet.com.au
To reproduce:
1. Navigate to http://www.webkit.org/
2. Open the Javascript console and enter the following
history.pushState({}, null, "/blog/");
The address-bar now says http://www.webkit.org/blog/, but the page hasn't changed (expected behavior).
3. Now enter the following
location.replace("/blog/");
The address-bar now says http://www.webkit.org/blog/, and the page reflects this.
4. Press the back-button. The address-bar now says http://www.webkit.org/, but the page hasn't changed from the "/blog/" contents.
This behavior is also observed in up-to-date Chrome.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list