Bug 1326153 - Change Form Autofill feature flag to browser.formautofill.experimental
MozReview-Commit-ID: 6QF0RVLRS61
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1545,9 +1545,9 @@ pref("browser.crashReports.unsubmittedCh
#ifdef NIGHTLY_BUILD
// Enable the (fairly costly) client/server validation on nightly only. The other prefs
// controlling validation are located in /services/sync/services-sync.js
pref("services.sync.validation.enabled", true);
#endif
// Preferences for the form autofill system extension
-pref("browser.formautofill.enabled", false);
+pref("browser.formautofill.experimental", false);
--- a/browser/extensions/formautofill/bootstrap.js
+++ b/browser/extensions/formautofill/bootstrap.js
@@ -12,17 +12,17 @@ Cu.import("resource://gre/modules/Servic
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "FormAutofillParent",
"resource://formautofill/FormAutofillParent.jsm");
function startup() {
// Besides this pref, we'll need dom.forms.autocomplete.experimental enabled
// as well to make sure form autocomplete works correctly.
- if (!Services.prefs.getBoolPref("browser.formautofill.enabled")) {
+ if (!Services.prefs.getBoolPref("browser.formautofill.experimental")) {
return;
}
FormAutofillParent.init();
Services.mm.loadFrameScript("chrome://formautofill/content/FormAutofillContent.js", true);
}
function shutdown() {}
--- a/browser/extensions/formautofill/test/unit/head.js
+++ b/browser/extensions/formautofill/test/unit/head.js
@@ -77,18 +77,18 @@ function getTempFile(leafName) {
file.remove(false);
}
});
return file;
}
add_task(function* test_common_initialize() {
- Services.prefs.setBoolPref("browser.formautofill.enabled", true);
+ Services.prefs.setBoolPref("browser.formautofill.experimental", true);
Services.prefs.setBoolPref("dom.forms.autocomplete.experimental", true);
loadFormAutofillContent();
// Clean up after every test.
do_register_cleanup(() => {
- Services.prefs.clearUserPref("browser.formautofill.enabled");
+ Services.prefs.clearUserPref("browser.formautofill.experimental");
Services.prefs.clearUserPref("dom.forms.autocomplete.experimental");
});
});