summaryrefslogtreecommitdiffstats
path: root/components/nsBrowserGlue.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/nsBrowserGlue.js')
-rw-r--r--components/nsBrowserGlue.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/nsBrowserGlue.js b/components/nsBrowserGlue.js
index 01a1338..b978eac 100644
--- a/components/nsBrowserGlue.js
+++ b/components/nsBrowserGlue.js
@@ -1198,7 +1198,7 @@ BrowserGlue.prototype = {
},
_migrateUI: function BG__migrateUI() {
- const UI_VERSION = 19;
+ const UI_VERSION = 20;
const BROWSER_DOCURL = "chrome://browser/content/browser.xul#";
let currentUIVersion = 0;
try {
@@ -1433,6 +1433,11 @@ BrowserGlue.prototype = {
}
#endif
+ if (currentUIVersion < 20) {
+ // HPKP change of UI preference; reset enforcement level
+ Services.prefs.clearUserPerf("security.cert_pinning.eforcement_level");
+ }
+
// Update the migration version.
Services.prefs.setIntPref("browser.migration.version", UI_VERSION);
},