Commit 3178608b authored by henry's avatar henry
Browse files

fixup! BB 44711: Hide unwanted setting controls.

TB 44679: Rehide the autofill preferences.
parent f581b0df
Loading
Loading
Loading
Loading
Loading
+9 −0
Changes for browser/components/preferences/privacy.inc.xhtml: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -563,7 +563,14 @@

<html:setting-group groupid="passwords" hidden="true" data-category="panePrivacy" />

<!-- 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>
@@ -571,6 +578,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>