[tbb-commits] [Git][tpo/applications/tor-browser][tor-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:49:34 UTC 2023



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


Commits:
d814648c by Pier Angelo Vendrame at 2023-02-27T14:09:58+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
=====================================
@@ -2011,7 +2011,13 @@ BrowserGlue.prototype = {
       () => PageDataService.uninit(),
       () => PageThumbs.uninit(),
       () => NewTabUtils.uninit(),
-      () => Normandy.uninit(),
+
+      () => {
+        if (AppConstants.MOZ_NORMANDY) {
+          Normandy.uninit();
+        }
+      },
+
       () => RFPHelper.uninit(),
       () => UpdateListener.reset(),
       () => OnionAliasStore.uninit(),


=====================================
toolkit/components/moz.build
=====================================
@@ -124,7 +124,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/d814648c0e111d09d8a8662a4b00d88f52989767

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d814648c0e111d09d8a8662a4b00d88f52989767
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/tbb-commits/attachments/20230227/288b81fe/attachment-0001.htm>


More information about the tbb-commits mailing list