RESOLVED FIXED 156965
Web Inspector: Can't sort by name/source code location columns in Timeline data grids
https://bugs.webkit.org/show_bug.cgi?id=156965
Summary Web Inspector: Can't sort by name/source code location columns in Timeline da...
Matt Baker
Reported 2016-04-24 17:54:35 PDT
* SUMMARY Can't sort by name/source code location columns in Timeline data grids. In the network and script (details) data grids, these columns contain document fragments and can't be sorted. For "location" to work, TimelineDataGrid's sort comparer just needs a special case for SourceCodeLocation values. For the name column which can contain main title and subtitle text, add a delegate to TimelineDataGrid so that view's can override the sort comparer per-column, as needed.
Attachments
[Patch] Proposed Fix (11.81 KB, patch)
2016-04-24 18:05 PDT, Matt Baker
no flags
[Patch] Proposed Fix (11.12 KB, patch)
2016-04-24 19:01 PDT, Matt Baker
no flags
Radar WebKit Bug Importer
Comment 1 2016-04-24 17:54:57 PDT
Matt Baker
Comment 2 2016-04-24 18:05:08 PDT
Created attachment 277207 [details] [Patch] Proposed Fix
Timothy Hatcher
Comment 3 2016-04-24 18:39:25 PDT
Comment on attachment 277207 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=277207&action=review > Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.js:-304 > - let currentDataGridNode = this.children[0]; The children array here was not the DOM, it is DataGridNodes. You should revert this.
Matt Baker
Comment 4 2016-04-24 19:01:45 PDT
Created attachment 277211 [details] [Patch] Proposed Fix
WebKit Commit Bot
Comment 5 2016-04-24 20:08:55 PDT
Comment on attachment 277211 [details] [Patch] Proposed Fix Clearing flags on attachment: 277211 Committed r199974: <http://trac.webkit.org/changeset/199974>
WebKit Commit Bot
Comment 6 2016-04-24 20:08:59 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.