WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
79684
Web Inspector: move record formatting into the timeline presentation model.
https://bugs.webkit.org/show_bug.cgi?id=79684
Summary
Web Inspector: move record formatting into the timeline presentation model.
Pavel Feldman
Reported
2012-02-27 10:51:04 PST
Patch to follow.
Attachments
Patch
(71.79 KB, patch)
2012-02-27 10:52 PST
,
Pavel Feldman
no flags
Details
Formatted Diff
Diff
Patch
(71.81 KB, patch)
2012-02-27 11:07 PST
,
Pavel Feldman
no flags
Details
Formatted Diff
Diff
Patch
(71.89 KB, patch)
2012-02-27 11:10 PST
,
Pavel Feldman
vsevik
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2012-02-27 10:52:43 PST
Created
attachment 129069
[details]
Patch
Andrey Kosyakov
Comment 2
2012-02-27 10:59:51 PST
Comment on
attachment 129069
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=129069&action=review
> Source/WebCore/inspector/front-end/TimelineModel.js:-173 > - this.stopRecord();
So what happens when we load a file during record?
> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:195 > +WebInspector.TimelinePresentationModel.Record = function(presentationModel, record, parentRecord, linkifier, scriptDetails)
Now that linkifier is in PresentationModel, we don't have to pass it as a separate patameter
> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:509 > + this._contentTable = document.createElement("table");;
one ;; should be enough
Andrey Kosyakov
Comment 3
2012-02-27 11:02:17 PST
Comment on
attachment 129069
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=129069&action=review
> Source/WebCore/inspector/front-end/TimelineOverviewPane.js:178 > + function updateBoundaries(record)
I think it's worth of a comment (or explicit return false)
> Source/WebCore/inspector/front-end/TimelinePanel.js:896 > + return {left: left, width: width, widthWithChildren: widthWithChildren, cpuWidth: cpuWidth};
This could at least appear in the ChangeLog
Vsevolod Vlasov
Comment 4
2012-02-27 11:04:04 PST
Comment on
attachment 129069
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=129069&action=review
> Source/WebCore/inspector/front-end/TimelinePanel.js:461 > + this._glueParentButton.toggled &&
indent?
> Source/WebCore/inspector/front-end/TimelinePanel.js:466 > + var newParentRecord = this._presentationModel._findParentRecord(record);
private?
Pavel Feldman
Comment 5
2012-02-27 11:07:21 PST
Created
attachment 129070
[details]
Patch
Pavel Feldman
Comment 6
2012-02-27 11:10:12 PST
Created
attachment 129071
[details]
Patch
Pavel Feldman
Comment 7
2012-02-27 11:14:47 PST
Committed
r109009
: <
http://trac.webkit.org/changeset/109009
>
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