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

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

Issue 2876623003: [Devtools] Added character limit on name column in devtools (Closed)
Patch Set: Created 3 years, 7 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 | no next file » | 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 fd33c2d9fee0e41f478bdaa29bb153d78b66b7e0..50471e48c448d55bc8413f87cbd758ae2041d359 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -890,7 +890,7 @@ Network.NetworkRequestNode = class extends Network.NetworkNode {
iconElement.classList.add(this._request.resourceType().name());
cell.appendChild(iconElement);
- cell.createTextChild(this._request.networkManager().target().decorateLabel(this._request.name()));
+ cell.createTextChild(this._request.networkManager().target().decorateLabel(this._request.name()).trimMiddle(100));
pfeldman 2017/05/11 01:01:57 trim name, not the decorated label.
this._appendSubtitle(cell, this._request.path());
cell.title = this._request.url();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698