1. Open http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/hovercard.html
2. Open hovercard.js in Scripts panel.
3. Start searching for "goog.", press enter couple of times to do 'search next'.
4. Switch to some other script, press enter in search box
Expected: first occurrence is highlighted in new script
Actual: scripts panel flips to hovercard.js, first occurrence is highlighted there.
Created attachment 42719 [details]
[PATCH] proposed fix
Committing to http://svn.webkit.org/repository/webkit/trunk ...