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


Commits:
ac9bc1a6 by henry at 2025-09-22T10:23:35+00:00
fixup! BB 42037: Disable about:firefoxview page

TB 43900: Open a new tab rather than about:firefoxview when unloading
the last tab.


(cherry picked from commit f7e0a6109a96f327710680c7ebba4699fb303806)

Co-authored-by: Henry Wilkes <he...@torproject.org>
- - - - -


1 changed file:

- browser/components/tabbrowser/content/tabbrowser.js


Changes:

=====================================
browser/components/tabbrowser/content/tabbrowser.js
=====================================
@@ -5185,14 +5185,11 @@
           this.selectedTab = newTab;
         } else {
           allTabsUnloaded = true;
-          // all tabs are unloaded - show Firefox View if it's present, 
otherwise open a new tab
-          if (FirefoxViewHandler.tab || FirefoxViewHandler.button) {
-            FirefoxViewHandler.openTab("opentabs");
-          } else {
-            this.selectedTab = this.addTrustedTab(BROWSER_NEW_TAB_URL, {
-              skipAnimation: true,
-            });
-          }
+          // We disable the firefoxview path in base browser. 
tor-browser#43900.
+          // Might be resolved by bugzilla bug 1989429.
+          this.selectedTab = this.addTrustedTab(BROWSER_NEW_TAB_URL, {
+            skipAnimation: true,
+          });
         }
       }
       let memoryUsageBeforeUnload = await getTotalMemoryUsage();



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

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


_______________________________________________
tbb-commits mailing list -- tbb-commits@lists.torproject.org
To unsubscribe send an email to tbb-commits-le...@lists.torproject.org

Reply via email to