Skip to content
  • timothy@apple.com's avatar
    Make the TimelineRecordTreeElement location subtitle live. · 2733f18a
    timothy@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=127270
    
    Reviewed by Joseph Pecoraro.
    
    * Localizations/en.lproj/localizedStrings.js: Updated.
    
    * UserInterface/SourceCodeLocation.js:
    (WebInspector.SourceCodeLocation.prototype.originalLocationString):
    (WebInspector.SourceCodeLocation.prototype.formattedLocationString):
    (WebInspector.SourceCodeLocation.prototype.displayLocationString):
    (WebInspector.SourceCodeLocation.prototype.updateDisplayString):
    (WebInspector.SourceCodeLocation.prototype._locationString):
    Support for a new nameStyle enum and a prefix for the location string.
    Passing the prefix here lets it be italicized with the line number.
    Support column number for SourceCode's without a URL too.
    
    * UserInterface/TimelineRecordTreeElement.js:
    (WebInspector.TimelineRecordTreeElement):
    (WebInspector.TimelineRecordTreeElement.prototype.onattach):
    Create a subtitle span to update the location inside. Update the tooltip on attach.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2733f18a