[Webkit-unassigned] [Bug 48667] New: the onbeforeunload dialog does not always prevent interacting with the rest of page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 29 13:22:20 PDT 2010


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

           Summary: the onbeforeunload dialog does not always prevent
                    interacting with the rest of page
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dhs.erikl at gmail.com


Created an attachment (id=72380)
 --> (https://bugs.webkit.org/attachment.cgi?id=72380&action=review)
a simple test page that demonstrates and describes the problem

In some cases it's possible to click on things behind the onbeforeunload navigation confirmation dialog.

This only appears to happen if you click on a link or something on the page that triggers the onbeforeunload dialog (not when refreshing the page, even by clicking the refresh button, or using the keyboard to activate a link on the page).  Then you can only click one thing on the page, and after that the dialog take focus and acts like a normal modal dialog.  

One exception is that if you click a link again, another navigation confirmation dialog appears and you can click on one more thing in the background.  So by repeatedly clicking a link you could bring up as many of these dialogs as you want.

I've only tried this on windows (7 and XP), so I'm not sure if it is an OS specific problem.  I was able to simulate the problem in Safari 5.0.2 (7533.18.5) and the WebKit-r70599 nightly build.  I could not simulate this problem in Chrome 7.0.517.41 (and not in Firefox or IE8 either).

See the attached test page for some example steps to simulate the problem.

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