Skip to content
  • caseq@chromium.org's avatar
    Web Inspector: DOMContentLoaded event divider is not shown on Timeline's main view · 0f45f963
    caseq@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=113196
    
    Reviewed by Pavel Feldman.
    
    Source/WebCore:
    
    - keep event divider records in TimelinePresentationModel, not in TimelinePanel;
    - process event divider records on every level, not just on top.
    
    * inspector/front-end/TimelinePanel.js:
    (WebInspector.TimelinePanel.prototype._updateEventDividers):
    (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline.checkVisible):
    (WebInspector.TimelinePanel.prototype._resetPanel):
    * inspector/front-end/TimelinePresentationModel.js:
    (WebInspector.TimelinePresentationModel.prototype.reset):
    (WebInspector.TimelinePresentationModel.prototype._innerAddRecord):
    (WebInspector.TimelinePresentationModel.prototype.eventDividerRecords):
    
    LayoutTests:
    
    - use TimelinePresentationModel to fetch list of event divider records;
    
    * http/tests/inspector/timeline-test.js:
    (initialize_Timeline.InspectorTest.printTimestampRecords):
    * inspector/timeline/timeline-load-event-expected.txt:
    * inspector/timeline/timeline-load-event.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0f45f963