[Webkit-unassigned] [Bug 13122] New: No history added for a window.open followed by refresh

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 15:56:16 PDT 2007


           Summary: No history added for a window.open followed by refresh
           Product: WebKit
           Version: 522+ (nightly)
          Platform: All
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: History
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: occupant4 at gmail.com

Repro steps:
1. Navigate to the attached test case.
2. Click the button to open a new window.
3. Navigate somewhere in the new window.  Notice that you can't go back to the
original page that opened the window.

Firefox creates a history entry for the new page opened, Safari does not.  I
observed this in both Safari 2.0.4 and Safari running with WebKit r20325.

>From stepping through the code, it looks like the problem is in
FrameLoader::updateHistoryForStandardLoad().  For the initial window.open(),
the URL is empty, so history is not updated.  Then the redirect occurs, and
this function is called again, but this time it's rejected from history because
it's a redirect.

Configure bugmail: http://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