Bug 61227 - [Windows] Window focus event fires twice
Summary: [Windows] Window focus event fires twice
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 17:00 PDT by Brent Fulgham
Modified: 2017-11-29 08:42 PST (History)
2 users (show)

See Also:


Attachments
Example demonstrating the problem (825 bytes, text/html)
2011-05-20 17:00 PDT, Brent Fulgham
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2011-05-20 17:00:52 PDT
Created attachment 94292 [details]
Example demonstrating the problem

(Reported by Anthony Johnson)
The attached example html demonstrates a bug in the Windows version of WebKit (both the Apple Safari version and the WinCairo port.)  This problem does not exist in the Chromium browser, or the Mac version of Safari.

1. Add an event listener for the window's onfocus event.
2. Click outside of Safari.
3. Click back inside the HTML view of Safari.
4. Observe that two window focus events are fired.
Comment 1 Pier Bover 2017-11-29 08:42:24 PST
This still happens in mobile and desktop, 6 years later.