Bug 1573932 - Disable extended triplets for certain policies. r=Mardak a=RyanVM FIREFOX_RELEASE_69_BASE
authorMichael Kaply <mozilla@kaply.com>
Thu, 22 Aug 2019 17:44:51 +0000
changeset 545272 7143c324663fce80ce6737986a3e38dfca7d614b
parent 545271 adf343d5cfe34757c1eb036700f60c2835ce98c9
child 545273 9a2bf949e4e2157ea0e4a2a99c63cef044b6db21
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMardak, RyanVM
bugs1573932
milestone69.0
Bug 1573932 - Disable extended triplets for certain policies. r=Mardak a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D43095
browser/components/enterprisepolicies/Policies.jsm
--- a/browser/components/enterprisepolicies/Policies.jsm
+++ b/browser/components/enterprisepolicies/Policies.jsm
@@ -382,16 +382,17 @@ var Policies = {
       }
     },
   },
 
   DisableFirefoxAccounts: {
     onBeforeAddons(manager, param) {
       if (param) {
         setAndLockPref("identity.fxaccounts.enabled", false);
+        setAndLockPref("trailhead.firstrun.branches", "nofirstrun");
       }
     },
   },
 
   DisableFirefoxScreenshots: {
     onBeforeAddons(manager, param) {
       if (param) {
         setAndLockPref("extensions.screenshots.disabled", true);
@@ -962,16 +963,17 @@ var Policies = {
       setAndLockPref("signon.rememberSignons", param);
     },
   },
 
   OverrideFirstRunPage: {
     onProfileAfterChange(manager, param) {
       let url = param ? param.href : "";
       setAndLockPref("startup.homepage_welcome_url", url);
+      setAndLockPref("trailhead.firstrun.branches", "nofirstrun");
     },
   },
 
   OverridePostUpdatePage: {
     onProfileAfterChange(manager, param) {
       let url = param ? param.href : "";
       setAndLockPref("startup.homepage_override_url", url);
       // The pref startup.homepage_override_url is only used