Index: Source/WebCore/inspector/front-end/TimelinePanel.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/TimelinePanel.js (revision 85601) |
+++ Source/WebCore/inspector/front-end/TimelinePanel.js (working copy) |
@@ -1030,10 +1030,10 @@ |
return record.data.width + "\u2009\u00d7\u2009" + record.data.height; |
case WebInspector.TimelineAgent.RecordType.TimerInstall: |
case WebInspector.TimelineAgent.RecordType.TimerRemove: |
- return this.stackTrace ? WebInspector.linkifyResourceAsNode(this.stackTrace[0].scriptName, "scripts", this.stackTrace[0].lineNumber, "", "") : record.data.timerId; |
+ return this.stackTrace ? WebInspector.linkifyResourceAsNode(this.stackTrace[0].url, "scripts", this.stackTrace[0].lineNumber, "", "") : record.data.timerId; |
case WebInspector.TimelineAgent.RecordType.ParseHTML: |
case WebInspector.TimelineAgent.RecordType.RecalculateStyles: |
- return this.stackTrace ? WebInspector.linkifyResourceAsNode(this.stackTrace[0].scriptName, "scripts", this.stackTrace[0].lineNumber, "", "") : null; |
+ return this.stackTrace ? WebInspector.linkifyResourceAsNode(this.stackTrace[0].url, "scripts", this.stackTrace[0].lineNumber, "", "") : null; |
case WebInspector.TimelineAgent.RecordType.EvaluateScript: |
return record.data.url ? WebInspector.linkifyResourceAsNode(record.data.url, "scripts", record.data.lineNumber, "", "") : null; |
case WebInspector.TimelineAgent.RecordType.XHRReadyStateChange: |
@@ -1133,7 +1133,7 @@ |
row.appendChild(this._createCell(stackFrame.functionName ? stackFrame.functionName : WebInspector.UIString("(anonymous function)"), "timeline-function-name")); |
row.appendChild(this._createCell(" @ ")); |
var linkCell = document.createElement("td"); |
- linkCell.appendChild(WebInspector.linkifyResourceAsNode(stackFrame.scriptName, "scripts", stackFrame.lineNumber, "timeline-details")); |
+ linkCell.appendChild(WebInspector.linkifyResourceAsNode(stackFrame.url, "scripts", stackFrame.lineNumber, "timeline-details")); |
row.appendChild(linkCell); |
framesTable.appendChild(row); |
} |