зеркало из https://github.com/mozilla/gecko-dev.git
Bug 304350 - Don't try and force the pref service to save prefs.js.
ChatZilla only. r=rginda
This commit is contained in:
Родитель
8349130cfb
Коммит
fa3a6bff6f
|
@ -254,7 +254,6 @@ function pm_arrayupdate(prefName)
|
|||
return;
|
||||
|
||||
this.prefBranch.setCharPref(prefName, this.arrayToString(record.realValue));
|
||||
this.prefService.savePrefFile(null);
|
||||
}
|
||||
|
||||
PrefManager.prototype.stringToArray =
|
||||
|
@ -391,8 +390,6 @@ function pm_setpref(prefName, value)
|
|||
{
|
||||
this.prefBranch.setCharPref(prefName, fromUnicode(value, PREF_CHARSET));
|
||||
}
|
||||
|
||||
this.prefService.savePrefFile(null);
|
||||
|
||||
record.realValue = value;
|
||||
|
||||
|
@ -404,7 +401,6 @@ function pm_reset(prefName)
|
|||
{
|
||||
this.prefRecords[prefName].realValue = null;
|
||||
this.prefBranch.clearUserPref(prefName);
|
||||
this.prefService.savePrefFile(null);
|
||||
}
|
||||
|
||||
PrefManager.prototype.addPref =
|
||||
|
|
Загрузка…
Ссылка в новой задаче