Firefox 3.6.4 bug: When a flash file has a focus, window.onblur does not happen as expected.

How to reproduce this bug.
1. Set focus on Flash.

2. Run another application like notepad.exe.

3. Now notepad is over Firefox and this should bring about window.onblur event. But Firefox 3.6.4 fails to do so.

When you do not close the notepad but temporalily minimize it onto the taskbar and again click it to get it aticive, then Firefox loses focus and successfully catches window.onblur event this time.

4. So when notepad is over Firefox, document.hasFocus shows true.


document.hasFocus()?:

document.activeElement.tagName?: