Bug 1364334 - Rename "browser.formautofill.*" prefs to "extensions.formautofill.*". r=lchang

MozReview-Commit-ID: HT8zSS1s6hN

--HG--
extra : rebase_source : 9ef3966e610116f912af4c66daf2c5f37e0f84c4
This commit is contained in:
Matthew Noorenberghe 2017-05-11 23:34:00 -07:00
parent aec5cca3ee
commit 903659e0dc
5 changed files with 8 additions and 8 deletions

View File

@ -1634,12 +1634,12 @@ pref("browser.crashReports.unsubmittedCheck.autoSubmit", false);
// Preferences for the form autofill system extension
#ifdef NIGHTLY_BUILD
pref("browser.formautofill.experimental", true);
pref("extensions.formautofill.experimental", true);
#else
pref("browser.formautofill.experimental", false);
pref("extensions.formautofill.experimental", false);
#endif
pref("extensions.formautofill.addresses.enabled", true);
pref("browser.formautofill.loglevel", "Warn");
pref("extensions.formautofill.loglevel", "Warn");
// Whether or not to restore a session with lazy-browser tabs.
pref("browser.sessionstore.restore_tabs_lazily", true);

View File

@ -15,7 +15,7 @@ this.FormAutofillUtils = {
XPCOMUtils.defineLazyGetter(scope, "log", () => {
let ConsoleAPI = Cu.import("resource://gre/modules/Console.jsm", {}).ConsoleAPI;
return new ConsoleAPI({
maxLogLevelPref: "browser.formautofill.loglevel",
maxLogLevelPref: "extensions.formautofill.loglevel",
prefix: logPrefix,
});
});

View File

@ -41,7 +41,7 @@ let windowListener = {
};
function startup() {
if (!Services.prefs.getBoolPref("browser.formautofill.experimental")) {
if (!Services.prefs.getBoolPref("extensions.formautofill.experimental")) {
return;
}

View File

@ -119,10 +119,10 @@ function runHeuristicsTest(patterns, fixturePathPrefix) {
}
add_task(function* head_initialize() {
Services.prefs.setBoolPref("browser.formautofill.experimental", true);
Services.prefs.setBoolPref("extensions.formautofill.experimental", true);
// Clean up after every test.
do_register_cleanup(function head_cleanup() {
Services.prefs.clearUserPref("browser.formautofill.experimental");
Services.prefs.clearUserPref("extensions.formautofill.experimental");
});
});

View File

@ -363,7 +363,7 @@ user_pref("media.openUnsupportedTypeWithExternalApp", false);
user_pref("signon.rememberSignons", false);
// Enable form autofill feature testing.
user_pref("browser.formautofill.experimental", true);
user_pref("extensions.formautofill.experimental", true);
// Disable all recommended Marionette preferences for Gecko tests.
// The prefs recommended by Marionette are typically geared towards