OLD | NEW |
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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 })); | 798 })); |
799 } | 799 } |
800 | 800 |
801 if (this._insecureContentStatus.displayedContentWithCertErrors) { | 801 if (this._insecureContentStatus.displayedContentWithCertErrors) { |
802 this._addExplanation(this._securityExplanationsMain, /** @type {!Sec
urityAgent.SecurityStateExplanation} */ ({ | 802 this._addExplanation(this._securityExplanationsMain, /** @type {!Sec
urityAgent.SecurityStateExplanation} */ ({ |
803 "securityState": this._insecureContentStatus.displayedInsecureCo
ntentStyle, | 803 "securityState": this._insecureContentStatus.displayedInsecureCo
ntentStyle, |
804 "summary": WebInspector.UIString("Content with certificate error
s"), | 804 "summary": WebInspector.UIString("Content with certificate error
s"), |
805 "description": WebInspector.UIString("This site includes resourc
es that were loaded with certificate errors.") | 805 "description": WebInspector.UIString("This site includes resourc
es that were loaded with certificate errors.") |
806 })); | 806 })); |
807 } | 807 } |
808 }, | 808 }, |
809 | 809 |
810 | 810 |
811 __proto__: WebInspector.VBox.prototype | 811 __proto__: WebInspector.VBox.prototype |
812 } | 812 } |
813 | 813 |
814 /** | 814 /** |
815 * @constructor | 815 * @constructor |
816 * @extends {WebInspector.VBox} | 816 * @extends {WebInspector.VBox} |
817 * @param {!WebInspector.SecurityPanel} panel | 817 * @param {!WebInspector.SecurityPanel} panel |
818 * @param {!WebInspector.SecurityPanel.Origin} origin | 818 * @param {!WebInspector.SecurityPanel.Origin} origin |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 row.createChild("div").textContent = key; | 1034 row.createChild("div").textContent = key; |
1035 | 1035 |
1036 var valueDiv = row.createChild("div"); | 1036 var valueDiv = row.createChild("div"); |
1037 if (typeof value === "string") { | 1037 if (typeof value === "string") { |
1038 valueDiv.textContent = value; | 1038 valueDiv.textContent = value; |
1039 } else { | 1039 } else { |
1040 valueDiv.appendChild(value); | 1040 valueDiv.appendChild(value); |
1041 } | 1041 } |
1042 } | 1042 } |
1043 } | 1043 } |
OLD | NEW |