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

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-153.0esr-16.0-1] fixup! BB 43864: Modify the urlbar for Base Browser.



Title: GitLab

morgan pushed to branch mullvad-browser-153.0esr-16.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

  • d0401aad
    by Henry Wilkes at 2026-08-04T13:57:14+00:00
    fixup! BB 43864: Modify the urlbar for Base Browser.
    
    BB 45168: Hide the history search option.
    

1 changed file:

Changes:

  • browser/components/urlbar/content/SearchModeSwitcher.mjs
    ... ... @@ -456,10 +456,20 @@ export class SearchModeSwitcher {
    456 456
           // search modes. Hence when the settings redesign is enabled we show
    
    457 457
           // all local search modes regardless of the prefs.
    
    458 458
           this.#engines = searchEngines.concat(
    
    459
    -        lazy.UrlbarUtils.LOCAL_SEARCH_MODES.filter(
    
    460
    -          engine =>
    
    459
    +        lazy.UrlbarUtils.LOCAL_SEARCH_MODES.filter(engine => {
    
    460
    +          // Do not show the search history option in PBM. tor-browser#43864.
    
    461
    +          // Although, it can still be triggered with "^" restrict keyword or
    
    462
    +          // through an app menu item. See also mozilla bug 1980928.
    
    463
    +          if (
    
    464
    +            engine.source === lazy.UrlbarUtils.RESULT_SOURCE.HISTORY &&
    
    465
    +            lazy.PrivateBrowsingUtils.permanentPrivateBrowsing
    
    466
    +          ) {
    
    467
    +            return false;
    
    468
    +          }
    
    469
    +          return (
    
    461 470
                 lazy.settingsRedesignEnabled || lazy.UrlbarPrefs.get(engine.pref)
    
    462
    -        )
    
    471
    +          );
    
    472
    +        })
    
    463 473
           );
    
    464 474
         }
    
    465 475
       }
    

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