[Webkit-unassigned] [Bug 80697] Broken behavior for back-button after history.pushState() + location.replace()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 20 23:04:10 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=80697


Sean Hogan <shogun70 at westnet.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Major




--- Comment #2 from Sean Hogan <shogun70 at westnet.com.au>  2012-04-20 23:04:09 PST ---
A work-around for this issue is to replace step #3 with:

    history.replaceState({}, null, currentURL);
    location.replace(nextURL);

where 
    currentURL = "http://www.webkit.org/" or "/" 
    nextURL = "/blog/"

for the demo given above. 

This work-around can cause a flash of the currentURL in the address bar, and it seems bizarre that this should work while the straight-forward code path fails.

-- 
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