Bug 1398656 - Always build the form autofill system add-on but disable it by default on release. r=lchang

The pref will gradually be flipped via Shield to "detect" on release.

MozReview-Commit-ID: LaiEub8v05t

--HG--
extra : rebase_source : 35a5e8c9ea90d90f3fb21d1ff3aa32ef0f0f2f18
This commit is contained in:
Matthew Noorenberghe 2017-09-13 17:29:49 -07:00
parent 7fbb59b32e
commit 0a19222093
2 changed files with 6 additions and 8 deletions

View File

@ -1692,10 +1692,13 @@ pref("browser.crashReports.unsubmittedCheck.chancesUntilSuppress", 4);
pref("browser.crashReports.unsubmittedCheck.autoSubmit", false);
// Preferences for the form autofill system extension
// The value of "extensions.formautofill.available" can be "on", "off" and "detect".
// The "detect" means it's enabled if conditions defined in the extension are met.
// The truthy values of "extensions.formautofill.available" are "on" and "detect",
// any other value means autofill isn't available.
// "detect" means it's enabled if conditions defined in the extension are met.
#ifdef NIGHTLY_BUILD
pref("extensions.formautofill.available", "on");
#elif MOZ_UPDATE_CHANNEL == release
pref("extensions.formautofill.available", "staged-rollout");
#else
pref("extensions.formautofill.available", "detect");
#endif

View File

@ -10,6 +10,7 @@ DIRS += [
'clicktoplay-rollout',
'e10srollout',
'followonsearch',
'formautofill',
'onboarding',
'pdfjs',
'pocket',
@ -25,12 +26,6 @@ if not CONFIG['RELEASE_OR_BETA']:
'presentation',
]
# formautofill will be rolled out via balrog in release
if CONFIG['MOZ_UPDATE_CHANNEL'] != 'release':
DIRS += [
'formautofill',
]
# Only include the following system add-ons if building DevEdition or Nightly
if CONFIG['MOZ_DEV_EDITION'] or CONFIG['NIGHTLY_BUILD']:
DIRS += [