Skip to content
  • timothy@apple.com's avatar
    Track callFrames and sourceCodeLocation per TimelineRecord. · d002bcf3
    timothy@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123359
    
    Reviewed by Joseph Pecoraro.
    
    * UserInterface/LayoutTimelineRecord.js:
    (WebInspector.LayoutTimelineRecord): Pass callFrames and sourceCodeLocation to superclass.
    * UserInterface/ScriptTimelineRecord.js:
    (WebInspector.ScriptTimelineRecord): Pass callFrames and sourceCodeLocation to superclass.
    * UserInterface/TimelineManager.js:
    (WebInspector.TimelineManager.prototype.eventRecorded.processRecord): Add "Payload" suffix to better track what is a protocol object.
    Pass the callFrames and sourceCodeLocation to all the new TimelineRecords.
    (WebInspector.TimelineManager.prototype.eventRecorded): Add "Payload" suffix.
    * UserInterface/TimelineRecord.js:
    (WebInspector.TimelineRecord):
    (WebInspector.TimelineRecord.prototype.get callFrames): Added.
    (WebInspector.TimelineRecord.prototype.get initiatorCallFrame): Added.
    (WebInspector.TimelineRecord.prototype.get sourceCodeLocation): Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d002bcf3