New issue 124583 by ameline....@gmail.com: Focus and blur handlers
triggered twice when switching tabs
http://code.google.com/p/chromium/issues/detail?id=124583
Chrome Version : 18.0.1025.162
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
URLs (if applicable) : http://jsbin.com/ubuyux
Other browsers tested:
Safari 5: OK
Firefox 4.x: OK
IE 7/8/9: OK
What steps will reproduce the problem?
1. add a onBlur and/or onFocus event to an input text
2. give focus to the field
3. leave to another tab without and come back
What is the expected result?
The onBlur handler should be called once when we leave the tab, the onFocus
should be called once when we come back to the tab. This is the default
behavior in every browser.
What happens instead?
The onBlur handler has been called twice, then the onFocus has been called
twice too.
Test url: http://jsbin.com/ubuyux