clairehurst pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project / 
Applications / Tor Browser


Commits:
b419c1df by clairehurst at 2026-03-30T10:45:38-06:00
fixup! TB 44591: Force extensions initialization on startup.

Revert "TB 44591: Force extensions initialization on startup."
This reverts commit bd2c6529c5e5c32677673df898983ae1699aff71.

- - - - -


1 changed file:

- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/FenixApplication.kt


Changes:

=====================================
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/FenixApplication.kt
=====================================
@@ -32,7 +32,6 @@ import kotlinx.coroutines.GlobalScope
 import kotlinx.coroutines.async
 import kotlinx.coroutines.launch
 import mozilla.appservices.autofill.AutofillApiException
-import mozilla.components.browser.engine.gecko.GeckoEngine
 import mozilla.components.browser.state.action.SystemAction
 import mozilla.components.browser.state.selector.selectedTab
 import mozilla.components.browser.state.store.BrowserStore
@@ -839,20 +838,6 @@ open class FenixApplication : Application(), Provider, 
ThemeProvider {
                     components.useCases.tabsUseCases.selectTab(sessionId)
                 },
                 onExtensionsLoaded = { extensions ->
-
-                    // temp fix for tb#44591 "fails to initialize 
WebExtensions"
-                    // disable and enable each extension to properly 
initialize them
-                    extensions.forEach { extension ->
-                        if (extension.isEnabled()) {
-                          (components.core.engine as 
GeckoEngine).disableWebExtension(
-                              extension,
-                              onSuccess = {
-                                  (components.core.engine as 
GeckoEngine).enableWebExtension(extension)
-                              },
-                          )
-                        }
-                    }
-
                     // Delay until bootstrap is finished so that it will 
actually update tor-browser#44303
                     
components.torController.registerRunOnceBootstrapped(object : 
RunOnceBootstrapped {
                         override fun onBootstrapped() {



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

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/b419c1df21dc12f81fbeab7c32b6b0cbbf072b49
You're receiving this email because of your account on gitlab.torproject.org. 
Manage all notifications: https://gitlab.torproject.org/-/profile/notifications 
| Help: https://gitlab.torproject.org/help


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

Reply via email to