RESOLVED FIXED 55489
Web Inspector: Searching on the Network panel doesn't do anything?
https://bugs.webkit.org/show_bug.cgi?id=55489
Summary Web Inspector: Searching on the Network panel doesn't do anything?
Matt Lilek
Reported 2011-03-01 11:49:30 PST
Is searching supposed to work on the Network panel? I tried to search for a phrase in content and nothing happens. When that didn't turn up anything, I thought maybe it only worked on file names - nope. Selected a file (the index page of webkit.org), switched to the content tab and it doesn't work on that either.
Attachments
[patch] initial version (7.87 KB, patch)
2011-07-04 09:59 PDT, Ilya Tikhonovsky
no flags
[patch] initial version. Unnecessary logging was removed. (7.83 KB, patch)
2011-07-04 10:01 PDT, Ilya Tikhonovsky
no flags
[patch] initial version. with styles fixes. (7.31 KB, patch)
2011-07-04 10:12 PDT, Ilya Tikhonovsky
pfeldman: review-
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-02 (2.12 MB, application/zip)
2011-07-04 10:38 PDT, WebKit Review Bot
no flags
[patch] initial version (8.59 KB, patch)
2011-07-06 02:07 PDT, Ilya Tikhonovsky
no flags
[patch] third version (8.60 KB, patch)
2011-07-06 04:13 PDT, Ilya Tikhonovsky
yurys: review-
[patch] fourth version (8.72 KB, patch)
2011-07-06 05:48 PDT, Ilya Tikhonovsky
no flags
[patch] fifth version (10.02 KB, patch)
2011-07-06 09:41 PDT, Ilya Tikhonovsky
no flags
[patch] next iteration. (10.28 KB, patch)
2011-07-07 01:32 PDT, Ilya Tikhonovsky
no flags
Matt Lilek
Comment 1 2011-03-30 16:17:00 PDT
*** Bug 56398 has been marked as a duplicate of this bug. ***
Ilya Tikhonovsky
Comment 2 2011-07-04 09:59:57 PDT
Created attachment 99639 [details] [patch] initial version
Ilya Tikhonovsky
Comment 3 2011-07-04 10:01:17 PDT
Created attachment 99640 [details] [patch] initial version. Unnecessary logging was removed.
WebKit Review Bot
Comment 4 2011-07-04 10:01:29 PDT
Attachment 99639 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 5 2011-07-04 10:04:53 PDT
Attachment 99640 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Ilya Tikhonovsky
Comment 6 2011-07-04 10:12:41 PDT
Created attachment 99642 [details] [patch] initial version. with styles fixes.
WebKit Review Bot
Comment 7 2011-07-04 10:37:57 PDT
Comment on attachment 99642 [details] [patch] initial version. with styles fixes. Attachment 99642 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8988025 New failing tests: inspector/audits/audits-panel-functional.html http/tests/inspector/resource-tree/resource-tree-mimetype.html inspector/elements/elements-panel-selection-on-refresh.html inspector/console/console-log-toString-object.html inspector/console/console-preserve-log.html inspector/debugger/debugger-reload-on-pause.html inspector/console/alert-toString-exception.html inspector/debugger/dom-breakpoints.html inspector/debugger/debugger-breakpoints-not-activated-on-reload.html inspector/console/console-uncaught-exception-in-eval.html http/tests/inspector/resource-har-conversion.html http/tests/inspector/resource-tree/resource-tree-reload.html
WebKit Review Bot
Comment 8 2011-07-04 10:38:03 PDT
Created attachment 99646 [details] Archive of layout-test-results from ec2-cr-linux-02 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-02 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Pavel Feldman
Comment 9 2011-07-05 01:51:19 PDT
Comment on attachment 99642 [details] [patch] initial version. with styles fixes. View in context: https://bugs.webkit.org/attachment.cgi?id=99642&action=review > Source/WebCore/inspector/front-end/NetworkPanel.js:1097 > + if (!(resource._displayName && resource._displayName.match(this._searchRegExp)) && Checking path is sufficient. > Source/WebCore/inspector/front-end/NetworkPanel.js:1101 > + if (resource.identifier in this._matchedResourcesIdMap) { no need for {} > Source/WebCore/inspector/front-end/NetworkPanel.js:1107 > + node._addStyleClass("search-matched-item"); See highlightSearchResult in utilities.js and its usages on how to highlight search match.
Vsevolod Vlasov
Comment 10 2011-07-05 06:45:29 PDT
Comment on attachment 99642 [details] [patch] initial version. with styles fixes. View in context: https://bugs.webkit.org/attachment.cgi?id=99642&action=review > Source/WebCore/inspector/front-end/NetworkPanel.js:1105 > + this._matchedResourcesMap[resource.identifier] = true; Looks like this field is not used anywhere else, is it needed? > Source/WebCore/inspector/front-end/NetworkPanel.js:1157 > + this._searchRegExp = new RegExp(searchQuery,"i"); Please use createSearchRegex() from utilities.js here. > Source/WebCore/inspector/front-end/NetworkPanel.js:1170 > + if (!this._matchedResources.length) I can't find any place where this._matchedResources is updated.
Ilya Tikhonovsky
Comment 11 2011-07-06 02:07:40 PDT
Created attachment 99803 [details] [patch] initial version
Ilya Tikhonovsky
Comment 12 2011-07-06 04:13:34 PDT
Created attachment 99814 [details] [patch] third version "new RegExp" was replaced with createSearchRegexp
Yury Semikhatsky
Comment 13 2011-07-06 04:35:03 PDT
Comment on attachment 99814 [details] [patch] third version r- until the UI issues are not resolved.
Ilya Tikhonovsky
Comment 14 2011-07-06 05:48:22 PDT
Created attachment 99819 [details] [patch] fourth version It is toggle large view only when the highlighted element has matches only in the path section.
Ilya Tikhonovsky
Comment 15 2011-07-06 09:41:01 PDT
Created attachment 99844 [details] [patch] fifth version it supports sorting and filtering
Pavel Feldman
Comment 16 2011-07-06 10:04:46 PDT
Comment on attachment 99844 [details] [patch] fifth version View in context: https://bugs.webkit.org/attachment.cgi?id=99844&action=review > Source/WebCore/inspector/front-end/NetworkPanel.js:1105 > + if (!refresh) Should matcher be refresh-aware?
Ilya Tikhonovsky
Comment 17 2011-07-07 01:32:25 PDT
Created attachment 99956 [details] [patch] next iteration. _updateHighlightIfMatched was extracted from _matchResource
Ilya Tikhonovsky
Comment 18 2011-07-07 05:06:42 PDT
Comment on attachment 99956 [details] [patch] next iteration. Clearing flags on attachment: 99956 Committed r90556: <http://trac.webkit.org/changeset/90556>
Ilya Tikhonovsky
Comment 19 2011-07-07 05:07:01 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.