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

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

Issue 2393393004: Don't call the decomposed thing a "Cipher Suite". (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 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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 if (originState.securityDetails) { 861 if (originState.securityDetails) {
862 var connectionSection = this.element.createChild("div", "origin-view-sec tion"); 862 var connectionSection = this.element.createChild("div", "origin-view-sec tion");
863 connectionSection.createChild("div", "origin-view-section-title").textCo ntent = WebInspector.UIString("Connection"); 863 connectionSection.createChild("div", "origin-view-section-title").textCo ntent = WebInspector.UIString("Connection");
864 864
865 var table = new WebInspector.SecurityDetailsTable(); 865 var table = new WebInspector.SecurityDetailsTable();
866 connectionSection.appendChild(table.element()); 866 connectionSection.appendChild(table.element());
867 table.addRow("Protocol", originState.securityDetails.protocol); 867 table.addRow("Protocol", originState.securityDetails.protocol);
868 table.addRow("Key Exchange", originState.securityDetails.keyExchange); 868 table.addRow("Key Exchange", originState.securityDetails.keyExchange);
869 if (originState.securityDetails.keyExchangeGroup) 869 if (originState.securityDetails.keyExchangeGroup)
870 table.addRow("Key Exchange Group", originState.securityDetails.keyEx changeGroup); 870 table.addRow("Key Exchange Group", originState.securityDetails.keyEx changeGroup);
871 table.addRow("Cipher Suite", originState.securityDetails.cipher + (origi nState.securityDetails.mac ? " with " + originState.securityDetails.mac : "")); 871 table.addRow("Cipher", originState.securityDetails.cipher + (originState .securityDetails.mac ? " with " + originState.securityDetails.mac : ""));
872 872
873 // Create the certificate section outside the callback, so that it appea rs in the right place. 873 // Create the certificate section outside the callback, so that it appea rs in the right place.
874 var certificateSection = this.element.createChild("div", "origin-view-se ction"); 874 var certificateSection = this.element.createChild("div", "origin-view-se ction");
875 certificateSection.createChild("div", "origin-view-section-title").textC ontent = WebInspector.UIString("Certificate"); 875 certificateSection.createChild("div", "origin-view-section-title").textC ontent = WebInspector.UIString("Certificate");
876 876
877 if (originState.securityDetails.signedCertificateTimestampList.length) { 877 if (originState.securityDetails.signedCertificateTimestampList.length) {
878 // Create the Certificate Transparency section outside the callback, so that it appears in the right place. 878 // Create the Certificate Transparency section outside the callback, so that it appears in the right place.
879 var sctSection = this.element.createChild("div", "origin-view-sectio n"); 879 var sctSection = this.element.createChild("div", "origin-view-sectio n");
880 sctSection.createChild("div", "origin-view-section-title").textConte nt = WebInspector.UIString("Certificate Transparency"); 880 sctSection.createChild("div", "origin-view-section-title").textConte nt = WebInspector.UIString("Certificate Transparency");
881 } 881 }
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 row.createChild("div").textContent = key; 1041 row.createChild("div").textContent = key;
1042 1042
1043 var valueDiv = row.createChild("div"); 1043 var valueDiv = row.createChild("div");
1044 if (typeof value === "string") { 1044 if (typeof value === "string") {
1045 valueDiv.textContent = value; 1045 valueDiv.textContent = value;
1046 } else { 1046 } else {
1047 valueDiv.appendChild(value); 1047 valueDiv.appendChild(value);
1048 } 1048 }
1049 } 1049 }
1050 } 1050 }
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