henry pushed to branch tor-browser-147.0a1-16.0-2 at The Tor Project / 
Applications / Tor Browser


Commits:
d79e5b30 by Henry Wilkes at 2026-01-27T13:39:06+00:00
fixup! Firefox preference overrides.

TB 44460: Update the autofill preferences in line with upstream's new
preferences.

- - - - -
d9ea4627 by Henry Wilkes at 2026-01-27T13:39:08+00:00
BB 44460: Hide the autofill preferences.

- - - - -


2 changed files:

- browser/app/profile/001-base-profile.js
- browser/components/preferences/privacy.inc.xhtml


Changes:

=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -83,8 +83,18 @@ pref("signon.rememberSignons", false);
 pref("browser.formfill.enable", false);
 pref("signon.formlessCapture.enabled", false); // Added with tor-browser#41496
 pref("signon.autofillForms", false);
+// NOTE: extensions.formautofill.available is a legacy preference that upstream
+// has not removed yet, and is only used for a migration to the newer
+// "*.supported" preferences. See bugzilla bug 1745248.
 pref("extensions.formautofill.available", "");
+// Suppress formautofill component. tor-browser#44460.
+// NOTE: With the "formautofill" built-in extension removed from Base Browser
+// builds, some of these preferences have almost no effect at the time of
+// implementation, but we include them in case they help with future-proofing.
+pref("extensions.formautofill.addresses.supported", "off");
+pref("extensions.formautofill.addresses.experiments.enabled", false);
 pref("extensions.formautofill.addresses.enabled", false);
+pref("extensions.formautofill.creditCards.supported", "off");
 pref("extensions.formautofill.creditCards.enabled", false);
 // Do not store extra data (form, scrollbar positions, cookies, POST data) for
 // the session restore functionality.


=====================================
browser/components/preferences/privacy.inc.xhtml
=====================================
@@ -562,7 +562,14 @@
 
 <!-- The form autofill section is inserted in to this box
      after the form autofill extension has initialized. -->
+<!-- This is 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="formAutofillGroupBox"
+          data-hidden-from-search="true"
+          data-hidden-by-setting-group=""
           data-category="panePrivacy"
           data-subcategory="form-autofill" hidden="true">
   <label><html:h2 data-l10n-id="autofill-payment-methods-title" 
class="subsection-heading"/></label>



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/3aaba973c7021a7eab121349068a1dc52cdf8470...d9ea46270a195730339bbe16506dfe3bcbe999ba

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/3aaba973c7021a7eab121349068a1dc52cdf8470...d9ea46270a195730339bbe16506dfe3bcbe999ba
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to