Bug 1438349 - Disable credit card support for Form Autofill in Beta 59+. r=Dolske a=lizzard
☠☠ backed out by daeb05a6586b ☠ ☠
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Wed, 14 Feb 2018 16:29:28 -0800
changeset 454922 5a92ce6cddb6fd0ea65cdf26976d13f61229b23c
parent 454921 73e1a43624953a13ccefbd63bddc512ebc7960fc
child 454923 de941fea28b408e3ccc7bb9ca4243e971da6cae5
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersDolske, lizzard
bugs1438349
milestone59.0
Bug 1438349 - Disable credit card support for Form Autofill in Beta 59+. r=Dolske a=lizzard MozReview-Commit-ID: fhS44Dk5bL
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1701,22 +1701,19 @@ pref("browser.crashReports.unsubmittedCh
 
 // Preferences for the form autofill system extension
 // 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");
 pref("extensions.formautofill.creditCards.available", true);
-#elif MOZ_UPDATE_CHANNEL == release
+#else
 pref("extensions.formautofill.available", "detect");
 pref("extensions.formautofill.creditCards.available", false);
-#else
-pref("extensions.formautofill.available", "detect");
-pref("extensions.formautofill.creditCards.available", true);
 #endif
 pref("extensions.formautofill.addresses.enabled", true);
 pref("extensions.formautofill.creditCards.enabled", true);
 // Pref for shield/heartbeat to recognize users who have used Credit Card
 // Autofill. The valid values can be:
 // 0: none
 // 1: submitted a manually-filled credit card form (but didn't see the doorhanger
 //    because of a duplicate profile in the storage)