Commit 4dc66f94 authored by caseq@chromium.org's avatar caseq@chromium.org

Revert of DevTools: [security] open certificate viewer from devtools security...

Revert of DevTools: [security] open certificate viewer from devtools security overview (blink) (patchset #3 id:40001 of https://codereview.chromium.org/1327593003/ )

Reason for revert:
Broke the front_end compilation.

Original issue's description:
> DevTools: [security] open certificate viewer from devtools security overview (blink)
> 
> BUG=506468
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201676

TBR=lgarron@chromium.org,dgozman@chromium.org,estark@chromium.org,pfeldman@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=506468

Review URL: https://codereview.chromium.org/1318003004

git-svn-id: svn://svn.chromium.org/blink/trunk@201685 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent c4dc5ee6
......@@ -342,20 +342,6 @@ WebInspector.SecurityMainView.prototype = {
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));
}
},
/**
......
......@@ -27,10 +27,6 @@
white-space: normal;
}
.security-certificate-id {
margin-top: 8px;
}
.security-main-view .security-summary-section-title {
font-size: 14px;
margin-bottom: 2px;
......
......@@ -1085,8 +1085,7 @@
"properties": [
{ "name": "securityState", "$ref": "SecurityState", "description": "Security state representing the severity of the factor being explained." },
{ "name": "summary", "type": "string", "description": "Short phrase describing the type of factor." },
{ "name": "description", "type": "string", "description": "Full text explanation of the factor." },
{ "name": "certificateId", "$ref": "Network.CertificateId", "optional": true, "description": "Associated certificate id." }
{ "name": "description", "type": "string", "description": "Full text explanation of the factor." }
],
"description": "An explanation of an factor contributing to the security state."
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment