summaryrefslogtreecommitdiffstats
path: root/components/preferences/security.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/preferences/security.js')
-rw-r--r--components/preferences/security.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/components/preferences/security.js b/components/preferences/security.js
index 9d5f302..a0f283d 100644
--- a/components/preferences/security.js
+++ b/components/preferences/security.js
@@ -18,7 +18,6 @@ var gSecurityPane = {
{
this._pane = document.getElementById("paneSecurity");
this._initMasterPasswordUI();
- this._initHPKPUI();
},
// ADD-ONS
@@ -234,17 +233,6 @@ var gSecurityPane = {
"chrome://passwordmgr/content/passwordManager.xul",
"", null);
},
-
- _initHPKPUI: function() {
- let checkbox = document.getElementById("enableHPKP");
- let HPKPpref = document.getElementById("security.cert_pinning.enforcement_level");
-
- if (HPKPpref.value == 0) {
- checkbox.checked = false;
- } else {
- checkbox.checked = true;
- }
- },
/**
* Updates the HPKP enforcement level to the proper value depending on checkbox