зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1664620
- Fixup test failures when credti card autofill is disabled. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D90131
This commit is contained in:
Родитель
025f5fb9f0
Коммит
d8c63e4335
|
@ -1,6 +1,7 @@
|
|||
[DEFAULT]
|
||||
prefs =
|
||||
extensions.formautofill.creditCards.available=true
|
||||
extensions.formautofill.creditCards.enabled=true
|
||||
extensions.formautofill.reauth.enabled=true
|
||||
# lower the interval for event telemetry in the content process to update the parent process
|
||||
toolkit.telemetry.ipcBatchTimeout=0
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[DEFAULT]
|
||||
prefs =
|
||||
extensions.formautofill.creditCards.available=true
|
||||
extensions.formautofill.creditCards.enabled=true
|
||||
extensions.formautofill.reauth.enabled=true
|
||||
support-files =
|
||||
!/toolkit/components/satchel/test/satchel_common.js
|
||||
|
|
|
@ -306,6 +306,10 @@ add_task(async function head_initialize() {
|
|||
"extensions.formautofill.creditCards.available",
|
||||
true
|
||||
);
|
||||
Services.prefs.setBoolPref(
|
||||
"extensions.formautofill.creditCards.enabled",
|
||||
true
|
||||
);
|
||||
Services.prefs.setBoolPref(
|
||||
"extensions.formautofill.heuristics.enabled",
|
||||
true
|
||||
|
@ -320,6 +324,7 @@ add_task(async function head_initialize() {
|
|||
Services.prefs.clearUserPref(
|
||||
"extensions.formautofill.creditCards.available"
|
||||
);
|
||||
Services.prefs.clearUserPref("extensions.formautofill.creditCards.enabled");
|
||||
Services.prefs.clearUserPref("extensions.formautofill.heuristics.enabled");
|
||||
Services.prefs.clearUserPref("extensions.formautofill.section.enabled");
|
||||
Services.prefs.clearUserPref("dom.forms.autocomplete.formautofill");
|
||||
|
|
Загрузка…
Ссылка в новой задаче