Bug 1548381 - Add prefs to release and enable password generation. r=sfoster

Differential Revision: https://phabricator.services.mozilla.com/D31205

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Matthew Noorenberghe 2019-05-21 00:24:32 +00:00
Родитель ededb354fa
Коммит 068d2c5c3d
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -4724,6 +4724,8 @@ pref("signon.autofillForms.autocompleteOff", true);
pref("signon.autofillForms.http", false);
pref("signon.autologin.proxy", false);
pref("signon.formlessCapture.enabled", true);
pref("signon.generation.available", false);
pref("signon.generation.enabled", false);
pref("signon.privateBrowsingCapture.enabled", false);
pref("signon.storeWhenAutocompleteOff", true);
pref("signon.debug", false);

Просмотреть файл

@ -28,6 +28,8 @@ var LoginHelper = {
debug: null,
enabled: null,
formlessCaptureEnabled: null,
generationAvailable: null,
generationEnabled: null,
insecureAutofill: null,
managementURI: null,
privateBrowsingCaptureEnabled: null,
@ -47,6 +49,8 @@ var LoginHelper = {
this.debug = Services.prefs.getBoolPref("signon.debug");
this.enabled = Services.prefs.getBoolPref("signon.rememberSignons");
this.formlessCaptureEnabled = Services.prefs.getBoolPref("signon.formlessCapture.enabled");
this.generationAvailable = Services.prefs.getBoolPref("signon.generation.available");
this.generationEnabled = Services.prefs.getBoolPref("signon.generation.enabled");
this.insecureAutofill = Services.prefs.getBoolPref("signon.autofillForms.http");
this.managementURI = Services.prefs.getStringPref("signon.management.overrideURI", null);
this.privateBrowsingCaptureEnabled =