Bug 128332 - Web Inspector: Clean up DataGrid and add table columns incrementally
Summary: Web Inspector: Clean up DataGrid and add table columns incrementally
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: BJ Burg
URL:
Keywords: InRadar
Depends on:
Blocks: 128333
  Show dependency treegraph
 
Reported: 2014-02-06 14:28 PST by BJ Burg
Modified: 2014-02-07 11:44 PST (History)
5 users (show)

See Also:


Attachments
patch (44.43 KB, patch)
2014-02-06 19:20 PST, BJ Burg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2014-02-06 14:28:28 PST
This is implemented in ProbeSetDataGrid subclass, but maybe better in the base class.
Comment 1 Radar WebKit Bug Importer 2014-02-06 14:29:15 PST
<rdar://problem/16005948>
Comment 2 BJ Burg 2014-02-06 19:06:37 PST
I had some column addition code but wasn't too sure whether it did the right thing or not. I ended up refactoring DataGrid so that it's much more obvious that adding columns incrementally is correct. See changelog on patch for details.
Comment 3 BJ Burg 2014-02-06 19:20:07 PST
Created attachment 223415 [details]
patch
Comment 4 Timothy Hatcher 2014-02-07 11:09:48 PST
Comment on attachment 223415 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=223415&action=review

> Source/WebInspectorUI/UserInterface/DataGrid.js:336
> +        for (var [identifier, column] of this.columns)

Sweet!
Comment 5 WebKit Commit Bot 2014-02-07 11:44:47 PST
Comment on attachment 223415 [details]
patch

Clearing flags on attachment: 223415

Committed r163637: <http://trac.webkit.org/changeset/163637>
Comment 6 WebKit Commit Bot 2014-02-07 11:44:49 PST
All reviewed patches have been landed.  Closing bug.