[Webkit-unassigned] [Bug 20152] New: Windows Safari4: Extra window opens from onunload handler closes directly with main window.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 24 00:03:36 PDT 2008


           Summary: Windows Safari4: Extra window opens from onunload
                    handler closes directly with main window.
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thorsten.dencker at sap.com
                CC: petr.zdrahal at sap.com


this bug is related "18341: window.onunload not fired when the last browser
window is being closed"

We expected that the handler attached to "window.onunload" gets invoked anytime
when a document gets unloaded. This was solved in bug 18341. In the onunload
handler we open a new extra window. This new window must stay open during the
main window closes. All common browsers  (MSIE 5,6,7), (Firefox 2,3) even
(Safari f. MacOs) behaves konsistently and guarantee that the window which was
opened during onunload is stays on the screen even the main windows has been
closed in a meantime. 

When using Safari for Windows (tested with Safari 4 Developer Preview,
when CLOSING THE LAST BROWSER WINDOW, the Safari opens such new window but then
closes it immediately along with the main window - yet before content of the
extra window has fully loaded and processed.

Note:  Even the scenario may look strange for you - we use the 
window.onuload and the extra window to perform reasonable actions (to notify
backend servers about to close backend sessions when the user left the
browser), so it is not about just annoying popups/windows, but have strong real
and valid usecase. I put the severity to Critical as it is almost a blocker for
our applications / session handling.

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