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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 18 03:35:09 PDT 2008


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

           Summary: window.location.replace seems to add history entries in
                    this test case
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://desktop.nostdal.org/~lnostdal/test.html
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: larsnostdal at gmail.com
                CC: sam at webkit.org


http://desktop.nostdal.org/~lnostdal/test.html

..and a copy here:

<html>
  <head>
  </head>

  <body onload="var before = history.length;
                window.location.replace('#blah');
                var after = history.length;
                if(before != after)
                  alert(before + ' != ' + after);
                ">
    <a href="test.html">again..</a>

    <p/>
    (also, it seems i need to click twice on the link for it to trigger a
reload .. which isn't the case in FF)
  </body>
</html>


..works as expected (does not add history entry) under FF, Opera and IE


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