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

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

Issue 2395323002: Roll src/third_party/boringssl/src 0d81373f9..1991af690 (Closed)
Patch Set: rebase, roll further 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
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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 originNetworkLink.addEventListener("click", showOriginRequestsInNetworkPanel , false); 858 originNetworkLink.addEventListener("click", showOriginRequestsInNetworkPanel , false);
859 859
860 860
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 if (originState.securityDetails.keyExchange)
869 table.addRow("Key Exchange", originState.securityDetails.keyExchange );
869 if (originState.securityDetails.keyExchangeGroup) 870 if (originState.securityDetails.keyExchangeGroup)
870 table.addRow("Key Exchange Group", originState.securityDetails.keyEx changeGroup); 871 table.addRow("Key Exchange Group", originState.securityDetails.keyEx changeGroup);
871 table.addRow("Cipher", originState.securityDetails.cipher + (originState .securityDetails.mac ? " with " + originState.securityDetails.mac : "")); 872 table.addRow("Cipher", originState.securityDetails.cipher + (originState .securityDetails.mac ? " with " + originState.securityDetails.mac : ""));
872 873
873 // Create the certificate section outside the callback, so that it appea rs in the right place. 874 // 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"); 875 var certificateSection = this.element.createChild("div", "origin-view-se ction");
875 certificateSection.createChild("div", "origin-view-section-title").textC ontent = WebInspector.UIString("Certificate"); 876 certificateSection.createChild("div", "origin-view-section-title").textC ontent = WebInspector.UIString("Certificate");
876 877
877 if (originState.securityDetails.signedCertificateTimestampList.length) { 878 if (originState.securityDetails.signedCertificateTimestampList.length) {
878 // Create the Certificate Transparency section outside the callback, so that it appears in the right place. 879 // Create the Certificate Transparency section outside the callback, so that it appears in the right place.
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 row.createChild("div").textContent = key; 1042 row.createChild("div").textContent = key;
1042 1043
1043 var valueDiv = row.createChild("div"); 1044 var valueDiv = row.createChild("div");
1044 if (typeof value === "string") { 1045 if (typeof value === "string") {
1045 valueDiv.textContent = value; 1046 valueDiv.textContent = value;
1046 } else { 1047 } else {
1047 valueDiv.appendChild(value); 1048 valueDiv.appendChild(value);
1048 } 1049 }
1049 } 1050 }
1050 } 1051 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698