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

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

Issue 2018863002: Change "valid" SCTs to "verified" in the Security panel UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {WebInspector.PanelWithSidebar} 7 * @extends {WebInspector.PanelWithSidebar}
8 * @implements {WebInspector.TargetManager.Observer} 8 * @implements {WebInspector.TargetManager.Observer}
9 */ 9 */
10 WebInspector.SecurityPanel = function() 10 WebInspector.SecurityPanel = function()
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 * @param {?NetworkAgent.CertificateValidationDetails} details 889 * @param {?NetworkAgent.CertificateValidationDetails} details
890 * @return {string} 890 * @return {string}
891 */ 891 */
892 sctSummary: function(details) 892 sctSummary: function(details)
893 { 893 {
894 if (!details) 894 if (!details)
895 return WebInspector.UIString("N/A"); 895 return WebInspector.UIString("N/A");
896 896
897 var sctTypeList = []; 897 var sctTypeList = [];
898 if (details.numValidScts) 898 if (details.numValidScts)
899 sctTypeList.push(WebInspector.UIString("%d valid SCT%s", details.num ValidScts, (details.numValidScts > 1) ? "s" : "")); 899 sctTypeList.push(WebInspector.UIString("%d verified SCT%s", details. numValidScts, (details.numValidScts > 1) ? "s" : ""));
900 if (details.numInvalidScts) 900 if (details.numInvalidScts)
901 sctTypeList.push(WebInspector.UIString("%d invalid SCT%s", details.n umInvalidScts, (details.numInvalidScts > 1) ? "s" : "")); 901 sctTypeList.push(WebInspector.UIString("%d invalid SCT%s", details.n umInvalidScts, (details.numInvalidScts > 1) ? "s" : ""));
902 if (details.numUnknownScts) 902 if (details.numUnknownScts)
903 sctTypeList.push(WebInspector.UIString("%d SCT%s from unknown logs", details.numUnknownScts, (details.numUnknownScts > 1) ? "s" : "")); 903 sctTypeList.push(WebInspector.UIString("%d SCT%s from unknown logs", details.numUnknownScts, (details.numUnknownScts > 1) ? "s" : ""));
904 return sctTypeList.length ? sctTypeList.join(", ") : WebInspector.UIStri ng("0 SCTs"); 904 return sctTypeList.length ? sctTypeList.join(", ") : WebInspector.UIStri ng("0 SCTs");
905 }, 905 },
906 906
907 __proto__: WebInspector.VBox.prototype 907 __proto__: WebInspector.VBox.prototype
908 } 908 }
909 909
(...skipping 26 matching lines...) Expand all
936 row.createChild("div").textContent = key; 936 row.createChild("div").textContent = key;
937 937
938 var valueDiv = row.createChild("div"); 938 var valueDiv = row.createChild("div");
939 if (typeof value === "string") { 939 if (typeof value === "string") {
940 valueDiv.textContent = value; 940 valueDiv.textContent = value;
941 } else { 941 } else {
942 valueDiv.appendChild(value); 942 valueDiv.appendChild(value);
943 } 943 }
944 } 944 }
945 } 945 }
OLDNEW
« 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