tor-browser

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

commit 70a44743b569199ecdec7737392051e78f3bf667
parent e2361552a2e88ac1d599438223b4c5f5686db542
Author: Dão Gottwald <dao@mozilla.com>
Date:   Thu, 27 Nov 2025 16:41:45 +0000

Bug 2002377 - Disable trending suggestions for the new search. r=Standard8,urlbar-reviewers

We'll disable for the MVP to reduce risk, but will want to re-enable this post-MVP.

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

Diffstat:
Mbrowser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs b/browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs @@ -606,6 +606,7 @@ export class UrlbarProviderSearchSuggestions extends UrlbarProvider { #shouldFetchTrending(queryContext) { return !!( queryContext.searchString == "" && + queryContext.sapName != "searchbar" && lazy.UrlbarPrefs.get("trending.featureGate") && lazy.UrlbarPrefs.get("suggest.trending") && (queryContext.searchMode ||