RESOLVED FIXED 72118
Web Inspector: make search in DOM panel scale.
https://bugs.webkit.org/show_bug.cgi?id=72118
Summary Web Inspector: make search in DOM panel scale.
Pavel Feldman
Reported 2011-11-11 05:28:50 PST
Patch to follow.
Attachments
Patch (38.92 KB, patch)
2011-11-11 05:41 PST, Pavel Feldman
no flags
Patch (39.72 KB, patch)
2011-11-11 06:49 PST, Pavel Feldman
no flags
Patch (39.18 KB, patch)
2011-11-11 07:20 PST, Pavel Feldman
yurys: review+
Pavel Feldman
Comment 1 2011-11-11 05:41:11 PST
WebKit Review Bot
Comment 2 2011-11-11 05:47:27 PST
Attachment 114685 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/insp..." exit_code: 1 Source/WebCore/inspector/InspectorDOMAgent.h:130: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Source/WebCore/inspector/InspectorDOMAgent.cpp:987: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Total errors found: 2 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Feldman
Comment 3 2011-11-11 06:49:32 PST
WebKit Review Bot
Comment 4 2011-11-11 06:52:43 PST
Attachment 114694 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/insp..." exit_code: 1 Source/WebCore/inspector/InspectorDOMAgent.h:130: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Source/WebCore/inspector/InspectorDOMAgent.cpp:990: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Total errors found: 2 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yury Semikhatsky
Comment 5 2011-11-11 07:01:17 PST
Comment on attachment 114694 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=114694&action=review > Source/WebCore/inspector/front-end/ElementsPanel.js:366 > + var nextCallback = jumpToNextOnEmpty ? this.jumpToNextSearchResult.bind(this) : this.jumpToPreviousSearchResult.bind(this); No need to bind these methods just to call them below. > Source/WebCore/inspector/front-end/ElementsPanel.js:370 > + nextCallback(); if (jumpToNextOnEmpty) this.jumpToNextSearchResult(); else this.jumpToPreviousSearchResult();
Yury Semikhatsky
Comment 6 2011-11-11 07:18:17 PST
Comment on attachment 114694 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=114694&action=review > Source/WebCore/inspector/InspectorDOMAgent.cpp:982 > + resultsIt->second.clear(); Remove this line?
Pavel Feldman
Comment 7 2011-11-11 07:20:03 PST
WebKit Review Bot
Comment 8 2011-11-11 07:21:32 PST
Attachment 114695 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/insp..." exit_code: 1 Source/WebCore/inspector/InspectorDOMAgent.h:130: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Source/WebCore/inspector/InspectorDOMAgent.cpp:989: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Total errors found: 2 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Feldman
Comment 9 2011-11-11 07:22:52 PST
Note You need to log in before you can comment on or make changes to this bug.