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
Patch (71.81 KB, patch)
2012-02-27 11:07 PST, Pavel Feldman
no flags
Patch (71.89 KB, patch)
2012-02-27 11:10 PST, Pavel Feldman
vsevik: review+
Pavel Feldman
Comment 1 2012-02-27 10:52:43 PST
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
Pavel Feldman
Comment 6 2012-02-27 11:10:12 PST
Pavel Feldman
Comment 7 2012-02-27 11:14:47 PST
Note You need to log in before you can comment on or make changes to this bug.