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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js

Issue 2512873002: [DevTools] Do not use external links for resources anymore. (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
index e3feaaa90f3a6282d571a9c8eaeec54ab3513f03..ebf5b7a00da2f0f5e577d87cf1260f2e95df8e19 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -523,9 +523,9 @@ Network.NetworkDataGridNode = class extends UI.SortableDataGridNode {
case SDK.NetworkRequest.InitiatorType.Parser:
cell.title = initiator.url + ':' + (initiator.lineNumber + 1);
var uiSourceCode = Workspace.workspace.uiSourceCodeForURL(initiator.url);
- cell.appendChild(Components.linkifyResourceAsNode(
- initiator.url, initiator.lineNumber, initiator.columnNumber, undefined, undefined,
- uiSourceCode ? uiSourceCode.displayName() : undefined));
+ cell.appendChild(Components.Linkifier.linkifyURL(
+ initiator.url, uiSourceCode ? uiSourceCode.displayName() : undefined, '', initiator.lineNumber,
+ initiator.columnNumber));
this._appendSubtitle(cell, Common.UIString('Parser'));
break;
@@ -533,7 +533,7 @@ Network.NetworkDataGridNode = class extends UI.SortableDataGridNode {
cell.title = initiator.url;
console.assert(request.redirectSource);
var redirectSource = /** @type {!SDK.NetworkRequest} */ (request.redirectSource);
- cell.appendChild(Components.linkifyResourceAsNode(redirectSource.url));
+ cell.appendChild(Components.Linkifier.linkifyURL(redirectSource.url));
this._appendSubtitle(cell, Common.UIString('Redirect'));
break;

Powered by Google App Engine
This is Rietveld 408576698