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

Unified Diff: third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js

Issue 2414793006: DevTools: Make Security panel show all SANs if there are 3 of them. (Closed)
Patch Set: Created 4 years, 2 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/security/SecurityPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js b/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
index b5237803e52709dcd15fb2748416a4a5df6c2a8b..2248895b83db66c37ff85ba0efd88d2bd0dd3b3f 100644
--- a/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
@@ -968,7 +968,7 @@ WebInspector.SecurityOriginView.prototype = {
sanDiv.classList.add("empty-san");
} else {
var truncatedNumToShow = 2;
- var listIsTruncated = sanList.length > truncatedNumToShow;
+ var listIsTruncated = sanList.length > truncatedNumToShow + 1;
for (var i = 0; i < sanList.length; i++) {
var span = sanDiv.createChild("span", "san-entry");
span.textContent = sanList[i];
« 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