RESOLVED FIXED 66050
Web Inspector: Resources panel: display the current search match index in the toolbar.
https://bugs.webkit.org/show_bug.cgi?id=66050
Summary Web Inspector: Resources panel: display the current search match index in the...
Vsevolod Vlasov
Reported 2011-08-11 06:17:21 PDT
Resources panel: display the current search match index in the toolbar.
Attachments
Patch (8.24 KB, patch)
2011-08-11 06:26 PDT, Vsevolod Vlasov
no flags
Patch (22.71 KB, patch)
2011-10-25 03:23 PDT, Vsevolod Vlasov
pfeldman: review+
Vsevolod Vlasov
Comment 1 2011-08-11 06:26:04 PDT
Pavel Feldman
Comment 2 2011-08-11 07:55:11 PDT
Comment on attachment 103613 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=103613&action=review Too much logic here, please provide a test. > Source/WebCore/inspector/front-end/ResourcesPanel.js:1632 > + return this._searchResult(this._traverser.next(currentTreeElement), 0, this._currentMatchIndex % this._matchesCount + 1); Why % ? Shouldn't _currentMatchIndex be normalized on its own? > Source/WebCore/inspector/front-end/ResourcesPanel.js:1650 > + return this._searchResult(treeElement, treeElement.searchMatchesCount - 1, currentMatchIndex); I think this requires a test!
Vsevolod Vlasov
Comment 3 2011-10-25 03:23:51 PDT
Vsevolod Vlasov
Comment 4 2011-10-25 06:48:41 PDT
Note You need to log in before you can comment on or make changes to this bug.