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

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

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js b/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
index f6fab659abbfe67214ff29f5ea4d9e27d2dd5d3c..9f68866dd1b1ea4751b4dede21ef5e626e401856 100644
--- a/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
@@ -29,7 +29,7 @@ WebInspector.SecurityPanel = function()
/** @type {!Map<!WebInspector.Target, !Array<!WebInspector.EventTarget.EventDescriptor>>}*/
this._eventListeners = new Map();
WebInspector.targetManager.observeTargets(this, WebInspector.Target.Capability.Network);
-}
+};
/** @typedef {string} */
WebInspector.SecurityPanel.Origin;
@@ -342,7 +342,7 @@ WebInspector.SecurityPanel.prototype = {
},
__proto__: WebInspector.PanelWithSidebar.prototype
-}
+};
/**
* @return {!WebInspector.SecurityPanel}
@@ -350,7 +350,7 @@ WebInspector.SecurityPanel.prototype = {
WebInspector.SecurityPanel._instance = function()
{
return /** @type {!WebInspector.SecurityPanel} */ (self.runtime.sharedInstance(WebInspector.SecurityPanel));
-}
+};
/**
* @param {string} text
@@ -369,7 +369,7 @@ WebInspector.SecurityPanel.createCertificateViewerButton = function(text, panel)
}
return createTextButton(text, showCertificateViewer, "security-certificate-button");
-}
+};
/**
* @param {string} text
@@ -393,7 +393,7 @@ WebInspector.SecurityPanel.createCertificateViewerButton2 = function(text, origi
}
return createTextButton(text, showCertificateViewer, "security-certificate-button");
-}
+};
/**
* @constructor
@@ -435,7 +435,7 @@ WebInspector.SecurityPanelSidebarTree = function(mainViewElement, showOriginInPa
/** @type {!Map<!WebInspector.SecurityPanel.Origin, !WebInspector.SecurityPanelSidebarTreeElement>} */
this._elementsByOrigin = new Map();
-}
+};
WebInspector.SecurityPanelSidebarTree.prototype = {
/**
@@ -526,7 +526,7 @@ WebInspector.SecurityPanelSidebarTree.prototype = {
},
__proto__: TreeOutlineInShadow.prototype
-}
+};
/**
@@ -539,7 +539,7 @@ WebInspector.SecurityPanelSidebarTree.OriginGroupName = {
NonSecure: WebInspector.UIString("Non-Secure Origins"),
Secure: WebInspector.UIString("Secure Origins"),
Unknown: WebInspector.UIString("Unknown / Canceled")
-}
+};
/**
@@ -560,7 +560,7 @@ WebInspector.SecurityPanelSidebarTreeElement = function(text, selectCallback, cl
this._iconElement.classList.add(this._cssPrefix);
this.listItemElement.createChild("span", "title").textContent = text;
this.setSecurityState(SecurityAgent.SecurityState.Unknown);
-}
+};
WebInspector.SecurityPanelSidebarTreeElement.prototype = {
/**
@@ -594,7 +594,7 @@ WebInspector.SecurityPanelSidebarTreeElement.prototype = {
},
__proto__: TreeElement.prototype
-}
+};
/**
* @param {!WebInspector.SecurityPanelSidebarTreeElement} a
@@ -604,7 +604,7 @@ WebInspector.SecurityPanelSidebarTreeElement.prototype = {
WebInspector.SecurityPanelSidebarTreeElement.SecurityStateComparator = function(a, b)
{
return WebInspector.SecurityModel.SecurityStateComparator(a.securityState(), b.securityState());
-}
+};
/**
* @constructor
@@ -639,7 +639,7 @@ WebInspector.SecurityMainView = function(panel)
this._summarySection.createChild("div", "triangle-pointer-container").createChild("div", "triangle-pointer-wrapper").createChild("div", "triangle-pointer");
this._summaryText = this._summarySection.createChild("div", "security-summary-text");
-}
+};
WebInspector.SecurityMainView.prototype = {
/**
@@ -684,7 +684,7 @@ WebInspector.SecurityMainView.prototype = {
"insecure": WebInspector.UIString("This page is not secure (broken HTTPS)."),
"neutral": WebInspector.UIString("This page is not secure."),
"secure": WebInspector.UIString("This page is secure (valid HTTPS).")
- }
+ };
this._summaryText.textContent = summaryExplanationStrings[this._securityState];
this._explanations = explanations,
@@ -835,7 +835,7 @@ WebInspector.SecurityMainView.prototype = {
__proto__: WebInspector.VBox.prototype
-}
+};
/**
* @constructor
@@ -974,7 +974,7 @@ WebInspector.SecurityOriginView = function(panel, origin, originState)
noInfoSection.createChild("div", "origin-view-section-title").textContent = WebInspector.UIString("No Security Information");
noInfoSection.createChild("div").textContent = WebInspector.UIString("No security details are available for this origin.");
}
-}
+};
WebInspector.SecurityOriginView.prototype = {
@@ -1004,7 +1004,7 @@ WebInspector.SecurityOriginView.prototype = {
function toggleSANTruncation()
{
if (sanDiv.classList.contains("truncated-san")) {
- sanDiv.classList.remove("truncated-san")
+ sanDiv.classList.remove("truncated-san");
truncatedSANToggle.textContent = WebInspector.UIString("Show less");
} else {
sanDiv.classList.add("truncated-san");
@@ -1032,7 +1032,7 @@ WebInspector.SecurityOriginView.prototype = {
},
__proto__: WebInspector.VBox.prototype
-}
+};
/**
* @constructor
@@ -1041,7 +1041,7 @@ WebInspector.SecurityDetailsTable = function()
{
this._element = createElement("table");
this._element.classList.add("details-table");
-}
+};
WebInspector.SecurityDetailsTable.prototype = {
@@ -1069,4 +1069,4 @@ WebInspector.SecurityDetailsTable.prototype = {
valueDiv.appendChild(value);
}
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698