Loading browser/base/content/browser.js +5 −0 Original line number Diff line number Diff line Loading @@ -5773,6 +5773,11 @@ var FirefoxViewHandler = { } }, openTab(section) { if (AppConstants.BASE_BROWSER_VERSION) { // about:firefoxview is disabled. tor-browser#42037. return; } if (!CustomizableUI.getPlacementOfWidget(this.BUTTON_ID)) { CustomizableUI.addWidgetToArea( this.BUTTON_ID, Loading browser/components/about/AboutRedirector.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -75,9 +75,6 @@ static const RedirEntry kRedirMap[] = { nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS | nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT | nsIAboutModule::IS_SECURE_CHROME_UI}, {"firefoxview", "chrome://browser/content/firefoxview/firefoxview.html", nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI | nsIAboutModule::HIDE_FROM_ABOUTABOUT}, {"policies", "chrome://browser/content/policies/aboutPolicies.html", nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI}, {"privatebrowsing", "chrome://browser/content/aboutPrivateBrowsing.html", Loading browser/components/about/components.conf +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ pages = [ 'framecrashed', 'logins', 'loginsimportreport', 'firefoxview', 'messagepreview', 'pocket-home', 'pocket-saved', Loading browser/components/moz.build +0 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ DIRS += [ "downloads", "enterprisepolicies", "extensions", "firefoxview", # Exclude "genai" component. tor-browser#44045. "messagepreview", "migration", Loading browser/components/tabbrowser/content/tabbrowser.js +5 −8 Original line number Diff line number Diff line Loading @@ -5189,16 +5189,13 @@ 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 { // 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(); let timeBeforeUnload = performance.now(); let numberOfTabsUnloaded = 0; Loading Loading
browser/base/content/browser.js +5 −0 Original line number Diff line number Diff line Loading @@ -5773,6 +5773,11 @@ var FirefoxViewHandler = { } }, openTab(section) { if (AppConstants.BASE_BROWSER_VERSION) { // about:firefoxview is disabled. tor-browser#42037. return; } if (!CustomizableUI.getPlacementOfWidget(this.BUTTON_ID)) { CustomizableUI.addWidgetToArea( this.BUTTON_ID, Loading
browser/components/about/AboutRedirector.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -75,9 +75,6 @@ static const RedirEntry kRedirMap[] = { nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS | nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT | nsIAboutModule::IS_SECURE_CHROME_UI}, {"firefoxview", "chrome://browser/content/firefoxview/firefoxview.html", nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI | nsIAboutModule::HIDE_FROM_ABOUTABOUT}, {"policies", "chrome://browser/content/policies/aboutPolicies.html", nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI}, {"privatebrowsing", "chrome://browser/content/aboutPrivateBrowsing.html", Loading
browser/components/about/components.conf +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ pages = [ 'framecrashed', 'logins', 'loginsimportreport', 'firefoxview', 'messagepreview', 'pocket-home', 'pocket-saved', Loading
browser/components/moz.build +0 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ DIRS += [ "downloads", "enterprisepolicies", "extensions", "firefoxview", # Exclude "genai" component. tor-browser#44045. "messagepreview", "migration", Loading
browser/components/tabbrowser/content/tabbrowser.js +5 −8 Original line number Diff line number Diff line Loading @@ -5189,16 +5189,13 @@ 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 { // 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(); let timeBeforeUnload = performance.now(); let numberOfTabsUnloaded = 0; Loading