зеркало из https://github.com/mozilla/gecko-dev.git
Bug 497656: don't migrate passwords and offlineApps settings from sanitize-on-shutdown to CPD-dialog, since the dialog no longer has UI for controlling them, r=gavin
This commit is contained in:
Родитель
dd020ab03a
Коммит
40a6c0b8f9
|
@ -1590,7 +1590,10 @@ function initializeSanitizer()
|
||||||
var clearOnShutdownBranch = prefService.getBranch("privacy.clearOnShutdown.");
|
var clearOnShutdownBranch = prefService.getBranch("privacy.clearOnShutdown.");
|
||||||
itemArray.forEach(function (name) {
|
itemArray.forEach(function (name) {
|
||||||
try {
|
try {
|
||||||
cpdBranch.setBoolPref(name, itemBranch.getBoolPref(name));
|
// don't migrate password or offlineApps clearing in the CRH dialog since
|
||||||
|
// there's no UI for those anymore. They default to false. bug 497656
|
||||||
|
if (name != "passwords" && name != "offlineApps")
|
||||||
|
cpdBranch.setBoolPref(name, itemBranch.getBoolPref(name));
|
||||||
clearOnShutdownBranch.setBoolPref(name, itemBranch.getBoolPref(name));
|
clearOnShutdownBranch.setBoolPref(name, itemBranch.getBoolPref(name));
|
||||||
}
|
}
|
||||||
catch(e) {
|
catch(e) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче