WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127900
Web Inspector: Show profile data in the discrete Scripts timeline view
https://bugs.webkit.org/show_bug.cgi?id=127900
Summary
Web Inspector: Show profile data in the discrete Scripts timeline view
Timothy Hatcher
Reported
2014-01-30 02:35:21 PST
Start showing profile data in the DataGrid of the ScriptTimelineView.
Attachments
Patch
(50.31 KB, patch)
2014-01-30 02:43 PST
,
Timothy Hatcher
joepeck
: review+
timothy
: commit-queue-
Details
Formatted Diff
Diff
Screenshot
(1.14 MB, image/png)
2014-01-30 02:46 PST
,
Timothy Hatcher
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-01-30 02:35:51 PST
<
rdar://problem/15944978
>
Timothy Hatcher
Comment 2
2014-01-30 02:43:16 PST
Created
attachment 222653
[details]
Patch
Timothy Hatcher
Comment 3
2014-01-30 02:46:44 PST
Created
attachment 222654
[details]
Screenshot
Joseph Pecoraro
Comment 4
2014-01-30 11:44:20 PST
Comment on
attachment 222653
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=222653&action=review
r=me
> Source/WebInspectorUI/ChangeLog:3 > + Show profile data in the desecrate Scripts timeline view.
Typo: "desecrate"
> Source/WebInspectorUI/UserInterface/NavigationSidebarPanel.js:543 > + // Keep all the elements at the same depth once the maximum is reached. > + childrenSubstring += i === maximumSidebarTreeDepth ? " .children" : " > .children"; > + styleText += "." + WebInspector.NavigationSidebarPanel.ContentTreeOutlineElementStyleClassName + childrenSubstring + " > .item { ";
This must be some kind of a record for longest selector.
> Source/WebInspectorUI/UserInterface/ProfileNodeDataGridNode.js:35 > + this._rangeEndTime = rangeEndTime || Infinity;
"0 || 0" is harmless, but "0 || Infinity" could lead to a crazy accident. Maybe we should be a bit safer here?
> Source/WebInspectorUI/UserInterface/ScriptTimelineDataGridNode.js:33 > + this._rangeEndTime = rangeEndTime || Infinity;
Ditto, 0 || Infinity.
> Source/WebInspectorUI/UserInterface/ScriptTimelineView.js:119 > + dataGridNode = dataGridNode.traverseNextNode(false, null, true);
Gosh, these traverse functions need a better name to read at call sites. Same with that reveal function with a bunch of bools.
> Source/WebInspectorUI/UserInterface/TimelineDataGrid.js:274 > + // Collect parent nodes htat need their children sorted. So this in two phases since
Typo: "htat"
Timothy Hatcher
Comment 5
2014-01-30 17:32:01 PST
https://trac.webkit.org/r163142
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug