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

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

Issue 2106863005: CT in DevTools: use "Source" rather than "Origin". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 var sctTableWrapper = sctSection.createChild("div", "sct-details"); 829 var sctTableWrapper = sctSection.createChild("div", "sct-details");
830 sctTableWrapper.classList.add("hidden"); 830 sctTableWrapper.classList.add("hidden");
831 for (var i = 0; i < originState.securityDetails.signedCertificateTim estampList.length; i++) 831 for (var i = 0; i < originState.securityDetails.signedCertificateTim estampList.length; i++)
832 { 832 {
833 var sctTable = new WebInspector.SecurityDetailsTable(); 833 var sctTable = new WebInspector.SecurityDetailsTable();
834 sctTableWrapper.appendChild(sctTable.element()); 834 sctTableWrapper.appendChild(sctTable.element());
835 var sct = originState.securityDetails.signedCertificateTimestamp List[i]; 835 var sct = originState.securityDetails.signedCertificateTimestamp List[i];
836 sctTable.addRow(WebInspector.UIString("Log Name"), sct.logDescri ption); 836 sctTable.addRow(WebInspector.UIString("Log Name"), sct.logDescri ption);
837 sctTable.addRow(WebInspector.UIString("Log ID"), sct.logId.repla ce(/(.{2})/g,"$1 ")); 837 sctTable.addRow(WebInspector.UIString("Log ID"), sct.logId.repla ce(/(.{2})/g,"$1 "));
838 sctTable.addRow(WebInspector.UIString("Validation Status"), sct. status); 838 sctTable.addRow(WebInspector.UIString("Validation Status"), sct. status);
839 sctTable.addRow(WebInspector.UIString("Origin"), sct.origin); 839 sctTable.addRow(WebInspector.UIString("Source"), sct.origin);
840 sctTable.addRow(WebInspector.UIString("Issued At"), new Date(sct .timestamp).toUTCString()); 840 sctTable.addRow(WebInspector.UIString("Issued At"), new Date(sct .timestamp).toUTCString());
841 sctTable.addRow(WebInspector.UIString("Hash Algorithm"), sct.has hAlgorithm); 841 sctTable.addRow(WebInspector.UIString("Hash Algorithm"), sct.has hAlgorithm);
842 sctTable.addRow(WebInspector.UIString("Signature Algorithm"), sc t.signatureAlgorithm); 842 sctTable.addRow(WebInspector.UIString("Signature Algorithm"), sc t.signatureAlgorithm);
843 sctTable.addRow(WebInspector.UIString("Signature Data"), sct.sig natureData.replace(/(.{2})/g,"$1 ")); 843 sctTable.addRow(WebInspector.UIString("Signature Data"), sct.sig natureData.replace(/(.{2})/g,"$1 "));
844 } 844 }
845 845
846 // Add link to toggle between displaying of the summary of the SCT(s ) and the detailed SCT(s). 846 // Add link to toggle between displaying of the summary of the SCT(s ) and the detailed SCT(s).
847 var toggleSctsDetailsLink = sctSection.createChild("div", "link"); 847 var toggleSctsDetailsLink = sctSection.createChild("div", "link");
848 toggleSctsDetailsLink.classList.add("sct-toggle"); 848 toggleSctsDetailsLink.classList.add("sct-toggle");
849 toggleSctsDetailsLink.textContent = WebInspector.UIString("Show full details"); 849 toggleSctsDetailsLink.textContent = WebInspector.UIString("Show full details");
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 row.createChild("div").textContent = key; 989 row.createChild("div").textContent = key;
990 990
991 var valueDiv = row.createChild("div"); 991 var valueDiv = row.createChild("div");
992 if (typeof value === "string") { 992 if (typeof value === "string") {
993 valueDiv.textContent = value; 993 valueDiv.textContent = value;
994 } else { 994 } else {
995 valueDiv.appendChild(value); 995 valueDiv.appendChild(value);
996 } 996 }
997 } 997 }
998 } 998 }
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