Bug 147468

Summary: Web Inspector: Layout & Rendering timeline grid should show TimelineRecord parent/child relationships
Product: WebKit Reporter: Matt Baker <mattbaker>
Component: Web InspectorAssignee: Matt Baker <mattbaker>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, simon.fraser, timothy, webkit-bug-importer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Image] New UI
none
[Patch] Proposed Fix
none
[Patch] Proposed Fix none

Matt Baker
Reported 2015-07-30 15:48:06 PDT
* SUMMARY Layout & Rendering timeline grid should show TimelineRecord parent/child relationships. Since the record hierarchy is now preserved as events are unpacked on the front-end (see https://bugs.webkit.org/show_bug.cgi?id=147029), we can make use of this when creating grid/tree nodes for the layout timeline view. Currently: - Styles Recalculated - Layout Invalidated - Composite - Paint - Paint Better: - Styles Recalculated - Layout Invalidated - Composite - Paint - Paint
Attachments
[Image] New UI (256.29 KB, image/png)
2015-08-03 18:57 PDT, Matt Baker
no flags
[Patch] Proposed Fix (6.01 KB, patch)
2015-08-03 19:12 PDT, Matt Baker
no flags
[Patch] Proposed Fix (5.96 KB, patch)
2015-08-04 17:14 PDT, Matt Baker
no flags
Matt Baker
Comment 1 2015-08-03 18:57:10 PDT
Created attachment 258142 [details] [Image] New UI
Matt Baker
Comment 2 2015-08-03 19:12:58 PDT
Created attachment 258143 [details] [Patch] Proposed Fix
Blaze Burg
Comment 3 2015-08-04 13:52:45 PDT
Comment on attachment 258143 [details] [Patch] Proposed Fix r=me, Nice! I wish we could extract the iteration code somehow, but probably not worth it until ES6 iterators work.
WebKit Commit Bot
Comment 4 2015-08-04 15:41:43 PDT
Comment on attachment 258143 [details] [Patch] Proposed Fix Rejecting attachment 258143 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 258143, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: geLog Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebInspectorUI/ChangeLog.rej patching file Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js patching file Source/WebInspectorUI/UserInterface/Models/TimelineRecord.js patching file Source/WebInspectorUI/UserInterface/Views/LayoutTimelineView.js Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Brian Burg']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.webkit.org/results/16742
WebKit Commit Bot
Comment 5 2015-08-04 15:56:17 PDT
Comment on attachment 258143 [details] [Patch] Proposed Fix Rejecting attachment 258143 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 258143, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: geLog Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebInspectorUI/ChangeLog.rej patching file Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js patching file Source/WebInspectorUI/UserInterface/Models/TimelineRecord.js patching file Source/WebInspectorUI/UserInterface/Views/LayoutTimelineView.js Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Brian Burg']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.webkit.org/results/16819
Matt Baker
Comment 6 2015-08-04 17:14:53 PDT
Created attachment 258241 [details] [Patch] Proposed Fix
WebKit Commit Bot
Comment 7 2015-08-04 18:25:13 PDT
Comment on attachment 258241 [details] [Patch] Proposed Fix Clearing flags on attachment: 258241 Committed r187929: <http://trac.webkit.org/changeset/187929>
WebKit Commit Bot
Comment 8 2015-08-04 18:25:18 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.