[Webkit-unassigned] [Bug 57906] New: Reload after document.write in new window loads wrong page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 5 17:02:23 PDT 2011


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

           Summary: Reload after document.write in new window loads wrong
                    page
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: History
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: creis at chromium.org
                CC: darin at apple.com, fishd at chromium.org,
                    creis at chromium.org, mihaip at chromium.org
        Depends on: 50331


Repro steps:
w = window.open(any_url)
w.document.write(1)
w.location.reload()

The reload() results in the *opener's* url being loaded into the child window, instead of any_url.  Layout test attached.

Note that in debug builds, it also hits the ASSERT in HistoryController::restoreScrollPositionAndViewState, which is being discussed in bug 50331.

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