[Webkit-unassigned] [Bug 31692] window.onblur() calling window.focus leaves focus in 2 places

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 19 13:36:45 PST 2010


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





--- Comment #1 from Victor Wang <victorw at chromium.org>  2010-01-19 13:36:45 PST ---
As Jay pointed out above, the problem is caused by the focused frame in
FocusController is messed up if window.onblur calls window.focus. When user
clicks iframe to switch focus from main frame to iframe,
FocusController::setFocusedFrame fires onblur event, which calls window.focus
and then calls setFocusedFrame again to switch back. This messes up the old
focused frame and new focused frame and leaves the FocusController confused. As
a result, controlls in both main frame and iframe look like get focused.

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