mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
aec5cca3ee
commit
903659e0dc
@ -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);
|
||||
|
@ -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,
|
||||
});
|
||||
});
|
||||
|
2
browser/extensions/formautofill/bootstrap.js
vendored
2
browser/extensions/formautofill/bootstrap.js
vendored
@ -41,7 +41,7 @@ let windowListener = {
|
||||
};
|
||||
|
||||
function startup() {
|
||||
if (!Services.prefs.getBoolPref("browser.formautofill.experimental")) {
|
||||
if (!Services.prefs.getBoolPref("extensions.formautofill.experimental")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
});
|
||||
});
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user