tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 2e0c5ee7b4bbab4a26c1ac00749031c942c365e5
parent 5b99e27cdc0176e242c3aba958e6b7fd5af11942
Author: Irene Ni <ini@mozilla.com>
Date:   Thu,  6 Nov 2025 18:22:24 +0000

Bug 1998763 - Add Firefox category to New Tab Wallpapers. r=home-newtab-reviewers,nbarrett

Differential Revision: https://phabricator.services.mozilla.com/D271628

Diffstat:
Mbrowser/extensions/newtab/content-src/components/WallpaperCategories/WallpaperCategories.jsx | 8++++++++
Mbrowser/extensions/newtab/data/content/activity-stream.bundle.js | 8++++++++
2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/browser/extensions/newtab/content-src/components/WallpaperCategories/WallpaperCategories.jsx b/browser/extensions/newtab/content-src/components/WallpaperCategories/WallpaperCategories.jsx @@ -280,6 +280,10 @@ export class _WallpaperCategories extends React.PureComponent { break; case "solid-colors": fluent_id = "newtab-wallpaper-category-title-colors"; + break; + case "firefox": + fluent_id = "newtab-wallpaper-category-title-firefox"; + break; } this.setState({ activeCategoryFluentID: fluent_id }); @@ -529,6 +533,10 @@ export class _WallpaperCategories extends React.PureComponent { break; case "solid-colors": fluent_id = "newtab-wallpaper-category-title-colors"; + break; + case "firefox": + fluent_id = "newtab-wallpaper-category-title-firefox"; + break; } let style = {}; if (thumbnail?.wallpaperUrl) { diff --git a/browser/extensions/newtab/data/content/activity-stream.bundle.js b/browser/extensions/newtab/data/content/activity-stream.bundle.js @@ -14398,6 +14398,10 @@ class _WallpaperCategories extends (external_React_default()).PureComponent { break; case "solid-colors": fluent_id = "newtab-wallpaper-category-title-colors"; + break; + case "firefox": + fluent_id = "newtab-wallpaper-category-title-firefox"; + break; } this.setState({ activeCategoryFluentID: fluent_id @@ -14629,6 +14633,10 @@ class _WallpaperCategories extends (external_React_default()).PureComponent { break; case "solid-colors": fluent_id = "newtab-wallpaper-category-title-colors"; + break; + case "firefox": + fluent_id = "newtab-wallpaper-category-title-firefox"; + break; } let style = {}; if (thumbnail?.wallpaperUrl) {