
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 fixup! Firefox preference overrides. - - - - - f0e526a3 by Pier Angelo Vendrame at 2025-05-20T11:21:11+02:00 fixup! BB 41631: Prevent weird initial window dimensions caused by subpixel computations BB 43672: Compensate window.resizeTo truncating by ceiling newwin sizes. - - - - - 0d260eee by hackademix at 2025-05-20T11:21:25+02:00 fixup! Firefox preference overrides. Disable the UITour API. - - - - - b76a58ae by Beatriz Rizental at 2025-05-20T11:36:30+02:00 fixup! Tweaks to the build system - - - - - 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: ===================================== browser/app/profile/001-base-profile.js ===================================== @@ -4,10 +4,9 @@ // Use the OS locale by default (tor-browser#17400) pref("intl.locale.requested", ""); -// Home page and new tab is blank rather than Firefox Home (Activity Stream). +// Home page is blank rather than Firefox Home (Activity Stream). // tor-browser#31575 and tor-browser#30662 pref("browser.startup.homepage", "about:blank"); -pref("browser.newtabpage.enabled", false); // tor-browser#43164: Prevent search-bar from being auto-hidden when not used for awhile // This preference is locked so that the browser itself can never set an actual @@ -209,6 +208,11 @@ pref("datareporting.policy.dataSubmissionEnabled", false); pref("browser.urlbar.recentsearches.featureGate", false); pref("browser.urlbar.suggest.recentsearches", false); +// Disable the UITour API +// See tor-browser#41457 and +// https://bugzilla.mozilla.org/show_bug.cgi?id=1915280 +pref("browser.uitour.enabled", false); + // Make sure Unified Telemetry is really disabled, see: #18738. pref("toolkit.telemetry.unified", false); // This needs to be locked, or nightly builds will automatically lock it to true ===================================== python/mach/mach/telemetry.py ===================================== @@ -271,6 +271,7 @@ def prompt_telemetry_message_contributor(): def initialize_telemetry_setting(settings, topsrcdir: str, state_dir: str): """Enables telemetry for employees or prompts the user.""" + return # If the user doesn't care about telemetry for this invocation, then # don't make requests to Bugzilla and/or prompt for whether the # user wants to opt-in. ===================================== python/sites/mach.txt ===================================== @@ -104,7 +104,7 @@ vendored:third_party/python/wheel vendored:third_party/python/zipp # glean-sdk may not be installable if a wheel isn't available # and it has to be built from source. -pypi-optional:glean-sdk==64.1.1:telemetry will not be collected +# pypi-optional:glean-sdk==64.1.1:telemetry will not be collected # Mach gracefully handles the case where `psutil` is unavailable. # We aren't (yet) able to pin packages in automation, so we have to # support down to the oldest locally-installed version (5.4.2). ===================================== toolkit/components/resistfingerprinting/RFPHelper.sys.mjs ===================================== @@ -969,7 +969,8 @@ class _RFPHelper { if (x11Height < targetHeight) { targetHeight = x11Height + 2; } - aWindow.resizeTo(targetWidth, targetHeight); + // resizeTo truncates on X11, so we compensate. + aWindow.resizeTo(Math.ceil(targetWidth), Math.ceil(targetHeight)); } else { aWindow.resizeBy(deltaWidth, deltaHeight); } View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/e3db46f... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/e3db46f... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
brizental (@brizental)