[Webkit-unassigned] [Bug 20425] window.location.replace seems to add history entries in this test case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 22 16:15:35 PDT 2008


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


jaredjacobs at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jaredjacobs at gmail.com




------- Comment #3 from jaredjacobs at gmail.com  2008-10-22 16:15 PDT -------
To be clear, this bug concerns history entries only, and not reloads.

When only the fragment part of the location is changed (e.g. from "#foo" to
"#bar") using location.replace, a history entry should not be added.

The test case provided by larsnostdal is an edge case where the fragment is
completely removed (including the "#"). Whether or not a server request occurs
when the '#' is completely removed is debatable; I believe Mozilla is the only
major browser that does the reload in the edge case.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list