[Webkit-unassigned] [Bug 56397] New: Suppress modal JavaScript/HTML dialogs during unload events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 15 11:58:26 PDT 2011


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

           Summary: Suppress modal JavaScript/HTML dialogs during unload
                    events
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sreeram at google.com
                CC: fishd at chromium.org


Suppressing modal JavaScript/HTML dialogs (i.e., calls to alert(), confirm(), prompt() and showModalDialog()) during unload events (onbeforeunload() and onunload()) can reduce annoyance and help speed up the appearance of closing a tab.

The onbeforeunload() event handler offers an opportunity for a page to request user confirmation before a page is unloaded (by returning a non-NULL value), so the other dialogs are not really needed.

References:
http://code.google.com/p/chromium/issues/detail?id=68780
https://bugzilla.mozilla.org/show_bug.cgi?id=391834

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