mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 1208145 - Clear XUL persistence data for passwordManager.xul passwordCol.hidden. r=dolske
Bug 1121291 made @hidden persist but we are reverting that change so we need to remove the values so the password column doesn't always show by default. --HG-- extra : commitid : 7WHEU1OHPgl extra : rebase_source : fb7f791197c61b67fe50280bb5ce4371dc95caad
This commit is contained in:
parent
ead3dd1fda
commit
bde0328bab
@ -1839,7 +1839,7 @@ BrowserGlue.prototype = {
|
||||
},
|
||||
|
||||
_migrateUI: function BG__migrateUI() {
|
||||
const UI_VERSION = 35;
|
||||
const UI_VERSION = 36;
|
||||
const BROWSER_DOCURL = "chrome://browser/content/browser.xul";
|
||||
let currentUIVersion = 0;
|
||||
try {
|
||||
@ -2189,6 +2189,12 @@ BrowserGlue.prototype = {
|
||||
this._maybeMigrateTabGroups();
|
||||
}
|
||||
|
||||
if (currentUIVersion < 36) {
|
||||
xulStore.removeValue("chrome://passwordmgr/content/passwordManager.xul",
|
||||
"passwordCol",
|
||||
"hidden");
|
||||
}
|
||||
|
||||
// Update the migration version.
|
||||
Services.prefs.setIntPref("browser.migration.version", UI_VERSION);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user