[tor-commits] [Git][tpo/applications/tor-browser][base-browser-102.8.0esr-12.5-1] Bug 41635: Disable the Normandy component

Richard Pospesel (@richard) git at gitlab.torproject.org
Mon Feb 27 14:53:50 UTC 2023



Richard Pospesel pushed to branch base-browser-102.8.0esr-12.5-1 at The Tor Project / Applications / Tor Browser


Commits:
21d60922 by Pier Angelo Vendrame at 2023-02-27T14:53:20+00:00
Bug 41635: Disable the Normandy component

Do not include Normandy at all whenever MOZ_NORMANDY is False.

- - - - -


2 changed files:

- browser/components/BrowserGlue.jsm
- toolkit/components/moz.build


Changes:

=====================================
browser/components/BrowserGlue.jsm
=====================================
@@ -1934,7 +1934,13 @@ BrowserGlue.prototype = {
       () => PageDataService.uninit(),
       () => PageThumbs.uninit(),
       () => NewTabUtils.uninit(),
-      () => Normandy.uninit(),
+
+      () => {
+        if (AppConstants.MOZ_NORMANDY) {
+          Normandy.uninit();
+        }
+      },
+
       () => RFPHelper.uninit(),
       () => UpdateListener.reset(),
     ];


=====================================
toolkit/components/moz.build
=====================================
@@ -123,7 +123,9 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
     ]
 
 if CONFIG["MOZ_BUILD_APP"] == "browser":
-    DIRS += ["normandy", "messaging-system"]
+    if CONFIG["MOZ_NORMANDY"]:
+        DIRS += ["normandy"]
+    DIRS += ["messaging-system"]
 
 DIRS += ["nimbus"]
 



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/21d60922ad16b20db4e4f1bb037f2f8f6e16df02

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/21d60922ad16b20db4e4f1bb037f2f8f6e16df02
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20230227/43e7662d/attachment-0001.htm>


More information about the tor-commits mailing list