[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-140.3.0esr-15.0-1] fixup! BB 42037: Disable about:firefoxview page



Title: GitLab

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 <henry@xxxxxxxxxxxxxx>

1 changed file:

Changes:

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

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx