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: - browser/components/urlbar/content/SearchModeSwitcher.mjs Changes: ===================================== browser/components/urlbar/content/SearchModeSwitcher.mjs ===================================== @@ -456,10 +456,20 @@ export class SearchModeSwitcher { // search modes. Hence when the settings redesign is enabled we show // all local search modes regardless of the prefs. this.#engines = searchEngines.concat( - lazy.UrlbarUtils.LOCAL_SEARCH_MODES.filter( - engine => + lazy.UrlbarUtils.LOCAL_SEARCH_MODES.filter(engine => { + // Do not show the search history option in PBM. tor-browser#43864. + // Although, it can still be triggered with "^" restrict keyword or + // through an app menu item. See also mozilla bug 1980928. + if ( + engine.source === lazy.UrlbarUtils.RESULT_SOURCE.HISTORY && + lazy.PrivateBrowsingUtils.permanentPrivateBrowsing + ) { + return false; + } + return ( lazy.settingsRedesignEnabled || lazy.UrlbarPrefs.get(engine.pref) - ) + ); + }) ); } } View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/d040... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/d040... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
morgan (@morgan)