Resources panel: display the current search match index in the toolbar.
Created attachment 103613 [details] Patch
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!
Created attachment 112314 [details] Patch
Committed r98339: <http://trac.webkit.org/changeset/98339>