[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-128.2.0esr-14.0-1] 7 commits: fixup! Bug 18905: Hide unwanted items from help menu



Title: GitLab

Pier Angelo Vendrame pushed to branch mullvad-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

  • 121e0977
    by Henry Wilkes at 2024-09-11T09:34:11+02:00
    fixup! Bug 18905: Hide unwanted items from help menu
    
    Bug 42647: Hide the switch device menu item.
    
  • 8af90aaa
    by Henry Wilkes at 2024-09-11T09:34:13+02:00
    fixup! Firefox preference overrides.
    
    Bug 42647: Remove unused preference
    browser.device-migration.help-menu.hidden.
    
  • 8479f2af
    by Henry Wilkes at 2024-09-11T09:34:13+02:00
    Bug 43109: Hide Firefox Relay from settings.
    
    This should remain disabled, see tor-browser#42814.
    
  • 509487d7
    by Henry Wilkes at 2024-09-11T09:34:13+02:00
    fixup! Bug 42027: Base Browser migration procedures.
    
    Bug 42777: Clear user preferences for GPC and DNT.
    
  • 17e5d5c3
    by Henry Wilkes at 2024-09-11T09:34:14+02:00
    Bug 42777: Hide Website Privacy Preferences.
    
    We hide the Website Privacy Preferences section, which controls the
    "global privacy control" (GPC) and "do not track" (DNT) settings.
    
  • 1e2a4e09
    by Pier Angelo Vendrame at 2024-09-11T09:34:14+02:00
    fixup! Bug 40925: Implemented the Security Level component
    
    Bug 42149: Do not change HTTPS-Only settings in the security level
    anymore.
    
    That preference does not really belong to the security level.
    
  • e5b3573b
    by Pier Angelo Vendrame at 2024-09-11T09:34:15+02:00
    fixup! Bug 42027: Base Browser migration procedures.
    
    Bug 42149: Clear user values for
    https_only_mode_send_http_background_request since we do not change it
    with the security level anymore.
    

6 changed files:

Changes:

  • browser/app/profile/001-base-profile.js
    ... ... @@ -20,9 +20,6 @@ pref("browser.aboutwelcome.enabled", false);
    20 20
     // Disable the Firefox View tab (tor-browser#41876)
    
    21 21
     pref("browser.tabs.firefox-view", false, locked);
    
    22 22
     
    
    23
    -// Disable 'Switching to a new device" help menu item (tor-browser#41774)
    
    24
    -pref("browser.device-migration.help-menu.hidden", true);
    
    25
    -
    
    26 23
     #if MOZ_UPDATE_CHANNEL == release
    
    27 24
     // tor-browser#42640: Disable Firefox Flame buttond due to unknown interactions with New Identity
    
    28 25
     pref("browser.privatebrowsing.resetPBM.enabled", false, locked);
    

  • browser/base/content/browser-menubar.inc
    ... ... @@ -502,6 +502,7 @@
    502 502
                               hidden="true"/>
    
    503 503
                     <menuitem id="helpSwitchDevice"
    
    504 504
                               oncommand="openSwitchingDevicesPage();"
    
    505
    +                          hidden="true"
    
    505 506
                               data-l10n-id="menu-help-switch-device"
    
    506 507
                               appmenu-data-l10n-id="appmenu-help-switch-device"/>
    
    507 508
                     <menuseparator id="aboutSeparator"/>
    

  • browser/components/BrowserGlue.sys.mjs
    ... ... @@ -4683,7 +4683,12 @@ BrowserGlue.prototype = {
    4683 4683
       _migrateUIBB() {
    
    4684 4684
         // Version 1: 13.0a3. Reset layout.css.prefers-color-scheme.content-override
    
    4685 4685
         //            for tor-browser#41739.
    
    4686
    -    const MIGRATION_VERSION = 1;
    
    4686
    +    // Version 2: 14.0a5:Reset the privacy tracking headers preferences since
    
    4687
    +    //            the UI is hidden. tor-browser#42777.
    
    4688
    +    //            Also, do not set
    
    4689
    +    //            dom.security.https_only_mode_send_http_background_request in
    
    4690
    +    //            the security level anymore (tor-browser#42149).
    
    4691
    +    const MIGRATION_VERSION = 2;
    
    4687 4692
         const MIGRATION_PREF = "basebrowser.migration.version";
    
    4688 4693
         // We do not care whether this is a new or old profile, since in version 1
    
    4689 4694
         // we just quickly clear a user preference, which should not do anything to
    
    ... ... @@ -4696,6 +4701,20 @@ BrowserGlue.prototype = {
    4696 4701
             "layout.css.prefers-color-scheme.content-override"
    
    4697 4702
           );
    
    4698 4703
         }
    
    4704
    +    if (currentVersion < 2) {
    
    4705
    +      for (const prefName of [
    
    4706
    +        "privacy.globalprivacycontrol.enabled",
    
    4707
    +        "privacy.donottrackheader.enabled",
    
    4708
    +        // Telemetry preference for if the user changed the value.
    
    4709
    +        "privacy.globalprivacycontrol.was_ever_enabled",
    
    4710
    +        // The last two preferences have no corresponding UI, but are related.
    
    4711
    +        "privacy.globalprivacycontrol.functionality.enabled",
    
    4712
    +        "privacy.globalprivacycontrol.pbmode.enabled",
    
    4713
    +        "dom.security.https_only_mode_send_http_background_request",
    
    4714
    +      ]) {
    
    4715
    +        Services.prefs.clearUserPref(prefName);
    
    4716
    +      }
    
    4717
    +    }
    
    4699 4718
         Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION);
    
    4700 4719
       },
    
    4701 4720
     
    

  • browser/components/preferences/privacy.inc.xhtml
    ... ... @@ -358,7 +358,7 @@
    358 358
         </vbox>
    
    359 359
       </vbox>
    
    360 360
     </groupbox>
    
    361
    -<groupbox id="nonTechnicalPrivacyGroup" data-category="panePrivacy" data-subcategory="nontechnicalprivacy" hidden="true">
    
    361
    +<groupbox id="nonTechnicalPrivacyGroup" data-category="panePrivacy" data-subcategory="nontechnicalprivacy" data-hidden-from-search="true" hidden="true">
    
    362 362
       <label id="nonTechnicalPrivacyHeader"><html:h2 data-l10n-id="non-technical-privacy-header"/></label>
    
    363 363
       <vbox id="nonTechnicalPrivacyBox">
    
    364 364
         <hbox id="globalPrivacyControlBox" flex="1" align="center" hidden="true">
    

  • browser/components/preferences/privacy.js
    ... ... @@ -3041,8 +3041,12 @@ var gPrivacyPane = {
    3041 3041
       },
    
    3042 3042
     
    
    3043 3043
       _updateRelayIntegrationUI() {
    
    3044
    -    document.getElementById("relayIntegrationBox").hidden =
    
    3045
    -      !FirefoxRelay.isAvailable;
    
    3044
    +    // In Base Browser, we always hide the integration checkbox since
    
    3045
    +    // FirefoxRelay should remain disabled.
    
    3046
    +    // See tor-browser#43109 and tor-browser#42814.
    
    3047
    +    // NOTE: FirefoxRelay.isAvailable will be true whenever
    
    3048
    +    // FirefoxRelay.isDisabled is true.
    
    3049
    +    document.getElementById("relayIntegrationBox").hidden = true;
    
    3046 3050
         document.getElementById("relayIntegration").checked =
    
    3047 3051
           FirefoxRelay.isAvailable && !FirefoxRelay.isDisabled;
    
    3048 3052
       },
    

  • toolkit/components/securitylevel/SecurityLevel.sys.mjs
    ... ... @@ -268,17 +268,16 @@ var initializeNoScriptControl = () => {
    268 268
     /* eslint-disable */
    
    269 269
     // prettier-ignore
    
    270 270
     const kSecuritySettings = {
    
    271
    -  // Preference name :                                          [0, 1-high 2-m    3-m    4-low]
    
    272
    -  "_javascript_.options.ion" :                                    [,  false, false, false, true ],
    
    273
    -  "_javascript_.options.baselinejit" :                            [,  false, false, false, true ],
    
    274
    -  "_javascript_.options.native_regexp" :                          [,  false, false, false, true ],
    
    275
    -  "mathml.disabled" :                                           [,  true,  true,  true,  false],
    
    276
    -  "gfx.font_rendering.graphite.enabled" :                       [,  false, false, false, true ],
    
    277
    -  "gfx.font_rendering.opentype_svg.enabled" :                   [,  false, false, false, true ],
    
    278
    -  "svg.disabled" :                                              [,  true,  false, false, false],
    
    279
    -  "_javascript_.options.asmjs" :                                  [,  false, false, false, true ],
    
    280
    -  "_javascript_.options.wasm" :                                   [,  false, false, false, true ],
    
    281
    -  "dom.security.https_only_mode_send_http_background_request" : [,  false, false, false, true ],
    
    271
    +  // Preference name:                        [0, 1-high 2-m    3-m    4-low]
    
    272
    +  "_javascript_.options.ion":                  [,  false, false, false, true ],
    
    273
    +  "_javascript_.options.baselinejit":          [,  false, false, false, true ],
    
    274
    +  "_javascript_.options.native_regexp":        [,  false, false, false, true ],
    
    275
    +  "mathml.disabled":                         [,  true,  true,  true,  false],
    
    276
    +  "gfx.font_rendering.graphite.enabled":     [,  false, false, false, true ],
    
    277
    +  "gfx.font_rendering.opentype_svg.enabled": [,  false, false, false, true ],
    
    278
    +  "svg.disabled":                            [,  true,  false, false, false],
    
    279
    +  "_javascript_.options.asmjs":                [,  false, false, false, true ],
    
    280
    +  "_javascript_.options.wasm":                 [,  false, false, false, true ],
    
    282 281
     };
    
    283 282
     /* eslint-enable */
    
    284 283
     
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits