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

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

Issue 1318003004: Revert of DevTools: [security] open certificate viewer from devtools security overview (blink) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Source/devtools/front_end/security/mainView.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/security/SecurityPanel.js
diff --git a/Source/devtools/front_end/security/SecurityPanel.js b/Source/devtools/front_end/security/SecurityPanel.js
index 3c8ec67f3c58ba49db5baf4495e3b80888b50a9e..166d8aa84258b5fcb5123b40355ac0b759f95b4e 100644
--- a/Source/devtools/front_end/security/SecurityPanel.js
+++ b/Source/devtools/front_end/security/SecurityPanel.js
@@ -356,20 +356,6 @@
var text = explanationSection.createChild("div", "security-section-text");
text.createChild("div", "security-section-title").textContent = explanation.summary;
text.createChild("div", "security-explanation").textContent = explanation.description;
- if ("certificateId" in explanation) {
- var certificateAnchor = text.createChild("div", "security-certificate-id link");
- certificateAnchor.textContent = WebInspector.UIString("View certificate");
- certificateAnchor.href = "";
- certificateAnchor.addEventListener("click", showCertificateViewer, false);
- }
- /**
- * @param {!Event} e
- */
- function showCertificateViewer(e)
- {
- e.consume();
- WebInspector.targetManager.mainTarget().networkManager.showCertificateViewer(/** @type {number} */ (explanation.certificateId));
- }
},
/**
« no previous file with comments | « no previous file | Source/devtools/front_end/security/mainView.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698