henry pushed to branch tor-browser-150.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: 44de04fc by Henry Wilkes at 2026-05-12T18:25:54+01:00 fixup! BB 44711: Hide unwanted setting controls in Base Browser. BB 44745: Hide SSO using settings config. - - - - - c3ff747f by Henry Wilkes at 2026-05-12T18:27:19+01:00 fixup! BB 40717: Hide Windows SSO in settings BB 44745: Use data-hidden-from-search rather than CSS to hide SSO settings. This will ensure that this patch can be dropped alongside upstream's markup when it switches entirely to the config approach. - - - - - 3 changed files: - browser/components/preferences/privacy.inc.xhtml - browser/components/preferences/privacy.js - browser/themes/shared/preferences/preferences.css Changes: ===================================== browser/components/preferences/privacy.inc.xhtml ===================================== @@ -525,7 +525,7 @@ data-l10n-attrs="hidden" flex="1"/> #ifdef XP_WIN - <hbox id="windows-sso" align="center"> + <hbox id="windows-sso" align="center" hidden="true" data-hidden-from-search="true"> <checkbox data-l10n-id="forms-windows-sso" preference="network.http.windows-sso.enabled" class="tail-with-learn-more"/> @@ -536,6 +536,8 @@ /> </hbox> <description id="windows-sso-caption" class="indent tip-caption" + hidden="true" + data-hidden-from-search="true" data-l10n-id="forms-windows-sso-desc"/> #endif </vbox> ===================================== browser/components/preferences/privacy.js ===================================== @@ -500,7 +500,8 @@ Preferences.addSetting({ Preferences.addSetting({ id: "allowWindowSSO", pref: "network.http.windows-sso.enabled", - visible: () => AppConstants.platform === "win", + // Hide Windows SSO (single sign on). tor-browser#40717. + visible: () => false, }); Preferences.addSetting({ ===================================== browser/themes/shared/preferences/preferences.css ===================================== @@ -596,13 +596,6 @@ html|label[disabled] { margin-inline-start: 0; } -@media (-moz-platform: windows) { - #windows-sso, - #windows-sso-caption { - display: none; - } -} - /** * Dialog */ View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/66d59b5... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/66d59b5... 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)
-
henry (@henry)