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

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

Issue 2921053002: [Devtools] Removed "redirects" from NetworkRequest to use redirectSource (Closed)
Patch Set: Merge branch 'MOVE_NETWORK_STUFF_AROUND' into REMOVE_REDIRECTS_REBASE Created 3 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7ed8b30423be3b80b3a89766b9c64061e4ec162d..a61940cafb457bb6005c79155c83741513151336 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -934,8 +934,8 @@ Network.NetworkRequestNode = class extends Network.NetworkNode {
case SDK.NetworkRequest.InitiatorType.Redirect:
cell.title = initiator.url;
- console.assert(request.redirectSource);
- var redirectSource = /** @type {!SDK.NetworkRequest} */ (request.redirectSource);
+ var redirectSource = /** @type {!SDK.NetworkRequest} */ (request.redirectSource());
+ console.assert(redirectSource);
if (this.parentView().nodeForRequest(redirectSource)) {
cell.appendChild(
Components.Linkifier.linkifyRevealable(redirectSource, Bindings.displayNameForURL(redirectSource.url())));
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698