henry pushed to branch tor-browser-140.4.0esr-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
5b9d6ce7
by Henry Wilkes at 2025-10-21T14:49:24+00:00
1 changed file:
Changes:
| ... | ... | @@ -9,6 +9,8 @@ import { |
| 9 | 9 | ActionsResult,
|
| 10 | 10 | } from "resource:///modules/ActionsProvider.sys.mjs";
|
| 11 | 11 | |
| 12 | +import { AppConstants } from "resource://gre/modules/AppConstants.sys.mjs";
|
|
| 13 | + |
|
| 12 | 14 | const lazy = {};
|
| 13 | 15 | |
| 14 | 16 | ChromeUtils.defineESModuleGetters(lazy, {
|
| ... | ... | @@ -312,6 +314,11 @@ class ProviderContextualSearch extends ActionsProvider { |
| 312 | 314 | );
|
| 313 | 315 | |
| 314 | 316 | if (
|
| 317 | + // Do not show the install prompt in non-private windows to have
|
|
| 318 | + // consistent behaviour with private windows and avoid linkability
|
|
| 319 | + // concerns. tor-browser#44134.
|
|
| 320 | + // Maybe re-enable as part of tor-browser#44117.
|
|
| 321 | + !AppConstants.BASE_BROWSER_VERSION &&
|
|
| 315 | 322 | !queryContext.isPrivate &&
|
| 316 | 323 | type != INSTALLED_ENGINE &&
|
| 317 | 324 | (await Services.search.shouldShowInstallPrompt(engine))
|