[Webkit-unassigned] [Bug 43670] New: alert() in a window.onblur handler confuses tab navigation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 7 02:47:41 PDT 2010


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

           Summary: alert() in a window.onblur handler confuses tab
                    navigation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://james.wheare.org/stuff/bugs/safari/onbluralert.
                    html
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: james at wheare.org


Setup:

* Put an alert() statement in a window.onblur event handler
* Make sure the window is focuses (click in it)

Reproduce:

* Switch tabs or create a new tab (either by clicking or with the keyboard shortcut)

Result:

* The main view updates to show the tab you switched to
* The selected tab remains on the window you alerted from, and any keyboard shortcuts will go to that tab.

See a minimal test case here:
http://james.wheare.org/stuff/bugs/safari/onbluralert.html

This may of course be an issue with Safari rather than WebKit, Chrome handles this by switching to the new tab for a split second, then switching back to your onblur tab to show the alert.

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