Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1136)

Unified Diff: Source/devtools/front_end/network/NetworkPanel.js

Issue 412183002: DevTools: Introduce createRawLocationByConsoleCallFrame to linkify links in Network popover correct… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f30921a61a9394baf766682aff570aa2576eba71..574d4fe7d881a30e48fcef8af60c2fe4b71ce4aa 100644
--- a/Source/devtools/front_end/network/NetworkPanel.js
+++ b/Source/devtools/front_end/network/NetworkPanel.js
@@ -1016,10 +1016,11 @@ WebInspector.NetworkLogView.prototype = {
var framesTable = document.createElement("table");
for (var i = 0; i < stackTrace.length; ++i) {
var stackFrame = stackTrace[i];
+ var rawLocation = request.target().debuggerModel.createRawLocationByConsoleCallFrame(stackFrame);
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.linkifyLocation(request.target(), stackFrame.url, stackFrame.lineNumber - 1, stackFrame.columnNumber - 1));
+ row.createChild("td").appendChild(this._linkifier.linkifyRawLocation(rawLocation));
eustas 2014/07/24 13:51:44 Please, make sure this won't interfere with https:
framesTable.appendChild(row);
}
return framesTable;
« no previous file with comments | « Source/devtools/front_end/console/ConsoleViewMessage.js ('k') | Source/devtools/front_end/sdk/DebuggerModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698