Bug 173982 - Web Inspector: GeneralTreeElements should use textContent if the title/subtitle is not a string for filtering
Summary: Web Inspector: GeneralTreeElements should use textContent if the title/subtit...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
Depends on:
Reported: 2017-06-29 12:48 PDT by Devin Rousso
Modified: 2017-07-10 19:02 PDT (History)
2 users (show)

See Also:

Patch (1.76 KB, patch)
2017-06-29 13:11 PDT, Devin Rousso
joepeck: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2017-06-29 12:48:06 PDT
For the cases that a Node is provided, we should still attempt to match based on the text that is contained within the node.
Comment 1 Devin Rousso 2017-06-29 13:11:28 PDT
Created attachment 314156 [details]
Comment 2 Joseph Pecoraro 2017-07-05 20:20:35 PDT
Comment on attachment 314156 [details]

r-, it sounds like you can do this in your specific subclass. I think thats probably preferable to altering the behavior for all TreeElements.