Bug 36488 - Web Inspector: Element inspector search funtion: Error dispatching: performSearch
Summary: Web Inspector: Element inspector search funtion: Error dispatching: performSe...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
URL: http://dne.enaa.com/
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-23 05:37 PDT by Pavel Feldman
Modified: 2010-03-23 09:22 PDT (History)
4 users (show)

See Also:


Attachments
[PATCH] Proposed fix. (7.69 KB, patch)
2010-03-23 07:16 PDT, Pavel Feldman
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2010-03-23 05:37:26 PDT
What steps will reproduce the problem?
1. Go to http://dne.enaa.com/
2. Open the element inspector (first tab)
3. Enter 'adp' in the search field
4. Notice the number of errors in the console will increase 1 and that one 
is 'Error dispatching: performSearch'

What is the expected result?
Search for elements

What happens instead?
Error dispatching: performSearch

(Upstreamed from chromium: http://code.google.com/p/chromium/issues/detail?id=38941)
Comment 1 Pavel Feldman 2010-03-23 07:16:44 PDT
Created attachment 51424 [details]
[PATCH] Proposed fix.
Comment 2 Pavel Feldman 2010-03-23 08:14:38 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	LayoutTests/ChangeLog
	A	LayoutTests/inspector/elements-panel-search-expected.txt
	A	LayoutTests/inspector/elements-panel-search.html
	M	WebCore/ChangeLog
	M	WebCore/inspector/front-end/ElementsPanel.js
	M	WebCore/inspector/front-end/InjectedScript.js
Committed r56393
Comment 3 Joseph Pecoraro 2010-03-23 09:04:19 PDT
What was with the <>s in the comments?

> +    // Exact attribute val<>ue.
> +    // Partial attribute val<>ue.
Comment 4 Pavel Feldman 2010-03-23 09:11:12 PDT
(In reply to comment #3)
> What was with the <>s in the comments?
> 
> > +    // Exact attribute val<>ue.
> > +    // Partial attribute val<>ue.

I don't want this very script tag to match the 'value' search :)
Comment 5 Joseph Pecoraro 2010-03-23 09:22:09 PDT
> I don't want this very script tag to match the 'value' search :)

Ahh, gotcha. Hence the other tricks. Thanks =)