commit 5160eedf247343e20c37292593b1db13c9863b6e
parent 61cf191bd3d559b38f4b67f8f99f819dd7c31fdc
Author: Henry Wilkes <henry@torproject.org>
Date: Mon, 2 Mar 2026 16:53:23 +0000
fixup! BB 44711: Hide unwanted setting controls.
TB 44679: Rehide the autofill preferences.
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/browser/components/preferences/privacy.inc.xhtml b/browser/components/preferences/privacy.inc.xhtml
@@ -564,7 +564,14 @@
#include ../onionservices/content/authPreferences.inc.xhtml
+<!-- groupid="payments" and groupid="addresses" are configured by
+ - FormAutofillPreferences.sys.mjs via FormAutofillStatus. But since the
+ - "autofill" extension is excluded from the build, FormAutofillStatus is
+ - never initialised. So we add the would-be data-hidden-* attributes
+ - explicitly here instead. See tor-browser#44460. -->
<groupbox id="paymentsGroupBox"
+ data-hidden-from-search="true"
+ data-hidden-by-setting-group=""
data-category="panePrivacy"
data-subcategory="payment-methods-autofill" hidden="true">
<label><html:h2 data-l10n-id="autofill-payment-methods-title" class="subsection-heading"/></label>
@@ -572,6 +579,8 @@
</groupbox>
<groupbox id="addressesGroupBox"
+ data-hidden-from-search="true"
+ data-hidden-by-setting-group=""
data-category="panePrivacy"
data-subcategory="addresses-autofill" hidden="true">
<label><html:h2 data-l10n-id="autofill-addresses-title" class="subsection-heading"/></label>