tor-browser

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

commit 1af94ca4e813d8cca62d0017f221849542979ce7
parent 63d8614128ed84675cbd4f351ea7b60f0d87232b
Author: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date:   Thu, 30 Oct 2025 16:02:45 +0000

Bug 1993863 - Don't show import message when import is disabled via policy. r=kcochrane,fxview-reviewers

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

Diffstat:
Mbrowser/components/firefoxview/history.mjs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/browser/components/firefoxview/history.mjs b/browser/components/firefoxview/history.mjs @@ -219,7 +219,8 @@ class HistoryInView extends ViewPage { return ( this.profileAge < 8 && !this.hasImportedHistoryPref && - !this.importHistoryDismissedPref + !this.importHistoryDismissedPref && + Services.policies.isAllowed("profileImport") ); }