Comment #9 on issue 26611 by [email protected]: Extra window focus/blur when clicking in iframe http://code.google.com/p/chromium/issues/detail?id=26611
The problem stems from the fact that the window.onblur sets focus back to the window. When tracking this in the debugger, with the focus on the main page, the following happens when you click in the iframe: 1 - the node in the iframe clicked gets the focus and focus the iframe 2 - onblur is triggered on the window, causing it to focus itself 3 - the last step of the processing of the click in the iframe focuses its document which sets the iframe as the focused frame 4 - this triggers again step 2 This is why we get the extra focus/blur events. Not sure how to fix it. May be Step 3 should not focus the document (assuming a node was already clicked)? Also, note that this bug is worse than having extra-notifications: it causes the iframe and main frame to appear as having focus. (in Safari and Chromium) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs
