Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: Error when selecting a bar in the Frames timeline
https://bugs.webkit.org/show_bug.cgi?id=156960 <rdar://problem/25897955> Reviewed by Timothy Hatcher. Fixes timeline grid node selection when record selected in the overview. Adds general purpose `findNode` method to DataGrid. * UserInterface/Views/DataGrid.js: (WebInspector.DataGrid.prototype.findNode): Basic find function for locating a grid node in linear time. * UserInterface/Views/TimelineRecordingContentView.js: (WebInspector.TimelineRecordingContentView.prototype._recordSelected): Remove tree outline references, call generic select method. * UserInterface/Views/TimelineView.js: (WebInspector.TimelineView.prototype.selectRecord): If a data grid was set, deselect current selection and select the node associated with the timeline record. Canonical link: https://commits.webkit.org/175074@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
67 additions
and 18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters