brizental pushed to branch tor-browser-139.0a1-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
7604ac75
by Neel Chauhan at 2025-05-20T11:21:10+02:00
-
f0e526a3
by Pier Angelo Vendrame at 2025-05-20T11:21:11+02:00
-
0d260eee
by hackademix at 2025-05-20T11:21:25+02:00
-
b76a58ae
by Beatriz Rizental at 2025-05-20T11:36:30+02:00
4 changed files:
- browser/app/profile/001-base-profile.js
- python/mach/mach/telemetry.py
- python/sites/mach.txt
- toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
Changes:
... | ... | @@ -4,10 +4,9 @@ |
4 | 4 | // Use the OS locale by default (tor-browser#17400)
|
5 | 5 | pref("intl.locale.requested", "");
|
6 | 6 | |
7 | -// Home page and new tab is blank rather than Firefox Home (Activity Stream).
|
|
7 | +// Home page is blank rather than Firefox Home (Activity Stream).
|
|
8 | 8 | // tor-browser#31575 and tor-browser#30662
|
9 | 9 | pref("browser.startup.homepage", "about:blank");
|
10 | -pref("browser.newtabpage.enabled", false);
|
|
11 | 10 | |
12 | 11 | // tor-browser#43164: Prevent search-bar from being auto-hidden when not used for awhile
|
13 | 12 | // This preference is locked so that the browser itself can never set an actual
|
... | ... | @@ -209,6 +208,11 @@ pref("datareporting.policy.dataSubmissionEnabled", false); |
209 | 208 | pref("browser.urlbar.recentsearches.featureGate", false);
|
210 | 209 | pref("browser.urlbar.suggest.recentsearches", false);
|
211 | 210 | |
211 | +// Disable the UITour API
|
|
212 | +// See tor-browser#41457 and
|
|
213 | +// https://bugzilla.mozilla.org/show_bug.cgi?id=1915280
|
|
214 | +pref("browser.uitour.enabled", false);
|
|
215 | + |
|
212 | 216 | // Make sure Unified Telemetry is really disabled, see: #18738.
|
213 | 217 | pref("toolkit.telemetry.unified", false);
|
214 | 218 | // This needs to be locked, or nightly builds will automatically lock it to true
|
... | ... | @@ -271,6 +271,7 @@ def prompt_telemetry_message_contributor(): |
271 | 271 | |
272 | 272 | def initialize_telemetry_setting(settings, topsrcdir: str, state_dir: str):
|
273 | 273 | """Enables telemetry for employees or prompts the user."""
|
274 | + return
|
|
274 | 275 | # If the user doesn't care about telemetry for this invocation, then
|
275 | 276 | # don't make requests to Bugzilla and/or prompt for whether the
|
276 | 277 | # user wants to opt-in.
|
... | ... | @@ -104,7 +104,7 @@ vendored:third_party/python/wheel |
104 | 104 | vendored:third_party/python/zipp
|
105 | 105 | # glean-sdk may not be installable if a wheel isn't available
|
106 | 106 | # and it has to be built from source.
|
107 | -pypi-optional:glean-sdk==64.1.1:telemetry will not be collected
|
|
107 | +# pypi-optional:glean-sdk==64.1.1:telemetry will not be collected
|
|
108 | 108 | # Mach gracefully handles the case where `psutil` is unavailable.
|
109 | 109 | # We aren't (yet) able to pin packages in automation, so we have to
|
110 | 110 | # support down to the oldest locally-installed version (5.4.2).
|
... | ... | @@ -969,7 +969,8 @@ class _RFPHelper { |
969 | 969 | if (x11Height < targetHeight) {
|
970 | 970 | targetHeight = x11Height + 2;
|
971 | 971 | }
|
972 | - aWindow.resizeTo(targetWidth, targetHeight);
|
|
972 | + // resizeTo truncates on X11, so we compensate.
|
|
973 | + aWindow.resizeTo(Math.ceil(targetWidth), Math.ceil(targetHeight));
|
|
973 | 974 | } else {
|
974 | 975 | aWindow.resizeBy(deltaWidth, deltaHeight);
|
975 | 976 | }
|