Index: Source/devtools/front_end/network/NetworkPanel.js |
diff --git a/Source/devtools/front_end/network/NetworkPanel.js b/Source/devtools/front_end/network/NetworkPanel.js |
index f493b6416344b5e9dacba433c8b7a1b849182d74..1ec972a700eda955852ae75c53322b1a3322ac56 100644 |
--- a/Source/devtools/front_end/network/NetworkPanel.js |
+++ b/Source/devtools/front_end/network/NetworkPanel.js |
@@ -1035,7 +1035,6 @@ WebInspector.NetworkLogView.prototype = { |
_generateScriptInitiatedPopoverContent: function(request) |
{ |
var framesTable = document.createElement("table"); |
- |
/** |
* @param {!Array.<!ConsoleAgent.CallFrame>} stackTrace |
* @this {WebInspector.NetworkLogView} |
@@ -1048,7 +1047,7 @@ WebInspector.NetworkLogView.prototype = { |
var row = document.createElement("tr"); |
row.createChild("td").textContent = stackFrame.functionName || WebInspector.UIString("(anonymous function)"); |
row.createChild("td").textContent = " @ "; |
- row.createChild("td").appendChild(this._linkifier.linkifyRawLocation(rawLocation)); |
+ row.createChild("td").appendChild(this._linkifier.linkifyRawLocation(rawLocation, stackFrame.url)); |
framesTable.appendChild(row); |
} |
} |
@@ -2774,7 +2773,7 @@ WebInspector.NetworkDataGridNode.prototype = { |
case WebInspector.NetworkRequest.InitiatorType.Script: |
if (!this._linkifiedInitiatorAnchor) { |
- this._linkifiedInitiatorAnchor = this._linkifier.linkifyLocation(request.target(), initiator.url, initiator.lineNumber - 1, initiator.columnNumber - 1); |
+ this._linkifiedInitiatorAnchor = this._linkifier.linkifyScriptLocation(request.target(), null, initiator.url, initiator.lineNumber - 1, initiator.columnNumber - 1); |
this._linkifiedInitiatorAnchor.title = ""; |
} |
cell.appendChild(this._linkifiedInitiatorAnchor); |