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

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

Issue 2626553002: [Devtools][Code health] Changed NetworkRequest.url to proper getter/setter (Closed)
Patch Set: changes Created 3 years, 11 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: 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 4ed55b93047a23d64f03ef1b7dbc9cf04e029a58..e91414fe94a549c4f427d98bf83b7776f3205379 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -659,7 +659,7 @@ Network.NetworkRequestNode = class extends Network.NetworkNode {
}
_openInNewTab() {
- InspectorFrontendHost.openInNewTab(this._request.url);
+ InspectorFrontendHost.openInNewTab(this._request.url());
}
/**
@@ -690,7 +690,7 @@ Network.NetworkRequestNode = class extends Network.NetworkNode {
cell.appendChild(iconElement);
cell.createTextChild(this._request.target().decorateLabel(this._request.name()));
this._appendSubtitle(cell, this._request.path());
- cell.title = this._request.url;
+ cell.title = this._request.url();
}
/**
@@ -768,7 +768,7 @@ Network.NetworkRequestNode = class extends Network.NetworkNode {
cell.title = initiator.url;
console.assert(request.redirectSource);
var redirectSource = /** @type {!SDK.NetworkRequest} */ (request.redirectSource);
- cell.appendChild(Components.Linkifier.linkifyURL(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