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.
This still happens in mobile and desktop, 6 years later.