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

Commits:

2 changed files:

Changes:

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

  • browser/components/preferences/privacy.inc.xhtml
    ... ... @@ -561,7 +561,14 @@
    561 561
     
    
    562 562
     <!-- The form autofill section is inserted in to this box
    
    563 563
          after the form autofill extension has initialized. -->
    
    564
    +<!-- This is configured by FormAutofillPreferences.sys.mjs via
    
    565
    +   - FormAutofillStatus. But since the "autofill" extension is excluded from the
    
    566
    +   - build, FormAutofillStatus is never initialised. So we add the would-be
    
    567
    +   - data-hidden-* attributes explicitly here instead.
    
    568
    +   - See tor-browser#44460. -->
    
    564 569
     <groupbox id="formAutofillGroupBox"
    
    570
    +          data-hidden-from-search="true"
    
    571
    +          data-hidden-by-setting-group=""
    
    565 572
               data-category="panePrivacy"
    
    566 573
               data-subcategory="form-autofill" hidden="true">
    
    567 574
       <label><html:h2 data-l10n-id="autofill-payment-methods-title" class="subsection-heading"/></label>