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


Commits:
f7e0a610 by Henry Wilkes at 2025-09-22T11:02:23+01:00
fixup! BB 42037: Disable about:firefoxview page

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

- - - - -


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/f7e0a6109a96f327710680c7ebba4699fb303806

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


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

Reply via email to