henry pushed to branch tor-browser-140.2.0esr-15.0-1 at The Tor Project / 
Applications / Tor Browser


Commits:
86b25200 by Henry Wilkes at 2025-09-09T15:34:21+00:00
fixup! TB 41435: Add a Tor Browser migration function

TB 44180: Clear YEC 2024 preference.

- - - - -


1 changed file:

- browser/components/ProfileDataUpgrader.sys.mjs


Changes:

=====================================
browser/components/ProfileDataUpgrader.sys.mjs
=====================================
@@ -993,7 +993,9 @@ export let ProfileDataUpgrader = {
     //            (tor-browser#43567).
     // Version 8: Tor Browser 15.0a2: Remove legacy search addons
     //            (tor-browser#43111).
-    const TBB_MIGRATION_VERSION = 8;
+    // Version 9: Tor Browser 15.0a3: Remove YEC 2024 preference.
+    //            (tor-browser#44180)
+    const TBB_MIGRATION_VERSION = 9;
     const MIGRATION_PREF = "torbrowser.migration.version";
 
     // If we decide to force updating users to pass through any version
@@ -1093,6 +1095,9 @@ export let ProfileDataUpgrader = {
         "[email protected]",
       ]);
     }
+    if (currentVersion < 9) {
+      Services.prefs.clearUserPref("torbrowser.homepage.yec2024.message");
+    }
 
     Services.prefs.setIntPref(MIGRATION_PREF, TBB_MIGRATION_VERSION);
   },



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

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


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to