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
1 changed file:
Changes:
| ... | ... | @@ -32,7 +32,6 @@ import kotlinx.coroutines.GlobalScope |
| 32 | 32 | import kotlinx.coroutines.async
|
| 33 | 33 | import kotlinx.coroutines.launch
|
| 34 | 34 | import mozilla.appservices.autofill.AutofillApiException
|
| 35 | -import mozilla.components.browser.engine.gecko.GeckoEngine
|
|
| 36 | 35 | import mozilla.components.browser.state.action.SystemAction
|
| 37 | 36 | import mozilla.components.browser.state.selector.selectedTab
|
| 38 | 37 | import mozilla.components.browser.state.store.BrowserStore
|
| ... | ... | @@ -839,20 +838,6 @@ open class FenixApplication : Application(), Provider, ThemeProvider { |
| 839 | 838 | components.useCases.tabsUseCases.selectTab(sessionId)
|
| 840 | 839 | },
|
| 841 | 840 | onExtensionsLoaded = { extensions ->
|
| 842 | - |
|
| 843 | - // temp fix for tb#44591 "fails to initialize WebExtensions"
|
|
| 844 | - // disable and enable each extension to properly initialize them
|
|
| 845 | - extensions.forEach { extension ->
|
|
| 846 | - if (extension.isEnabled()) {
|
|
| 847 | - (components.core.engine as GeckoEngine).disableWebExtension(
|
|
| 848 | - extension,
|
|
| 849 | - onSuccess = {
|
|
| 850 | - (components.core.engine as GeckoEngine).enableWebExtension(extension)
|
|
| 851 | - },
|
|
| 852 | - )
|
|
| 853 | - }
|
|
| 854 | - }
|
|
| 855 | - |
|
| 856 | 841 | // Delay until bootstrap is finished so that it will actually update tor-browser#44303
|
| 857 | 842 | components.torController.registerRunOnceBootstrapped(object : RunOnceBootstrapped {
|
| 858 | 843 | override fun onBootstrapped() {
|