[Webkit-unassigned] [Bug 22224] New: window.location.replace seems to save the session history

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 12 18:19:45 PST 2008


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

           Summary: window.location.replace seems to save the session
                    history
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://desktop.nostdal.org/~lnostdal/test.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: anantha at chromium.org


chromium bug:http://code.google.com/p/chromium/issues/detail?id=1919

Code snippet:
<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


Nightly tested: r38293


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