Bug 31243

Summary: Web Inspector: "Search again" on scripts panel switches to the script this search started with.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Severity: Normal CC: bweinstein, joepeck, rik, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
[PATCH] proposed fix timothy: review+

Description Pavel Feldman 2009-11-08 11:44:04 PST
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.
Comment 1 Pavel Feldman 2009-11-08 12:44:58 PST
Created attachment 42719 [details]
[PATCH] proposed fix
Comment 2 Pavel Feldman 2009-11-08 20:46:51 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/front-end/Panel.js
Committed r50635