Refactor searching in inspector, add test (+fix).
Created attachment 108906 [details] Patch
We will need search in debugger agent as well, so moved it out of page agent. Added test. Fixed non regex case (added " != notFound" to condition) which is never used yet, but will probably be used for search in multiple scripts.
Comment on attachment 108906 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=108906&action=review > LayoutTests/ChangeLog:3 > + Web Inspector: Refactor searching in inspector, add test (+fix). What is (+fix) in the title? Also the log entry should contain a description of the changes made. > Source/WebCore/inspector/ContentSearchUtils.h:44 > + ContentSearchUtils() { } You may use a namespace instead.
Committed r96215: <http://trac.webkit.org/changeset/96215>