Skip to content
Snippets Groups Projects
  1. Aug 23, 2020
  2. Aug 20, 2020
  3. Aug 19, 2020
    • Georg Koppen's avatar
      Bug 40090: Disable v3 add-on blocklist for now · ee9af308
      Georg Koppen authored
      That's desktop-only as the v3 blocklist is not enabled on mobile yet,
      see: https://bugzilla.mozilla.org/show_bug.cgi?id=1639050.
      Unverified
      ee9af308
    • Kathleen Brade's avatar
      Bug 40002: Remove about:pioneer · 0c9bce4d
      Kathleen Brade authored and Georg Koppen's avatar Georg Koppen committed
      Firefox Pioneer is an opt-in program in which people volunteer to
      participate in studies that collect detailed, sensitive data about
      how they use their browser.
      0c9bce4d
    • Alex Catarineu's avatar
      Bug 40073: Disable remote Public Suffix List fetching · c7826a06
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      In https://bugzilla.mozilla.org/show_bug.cgi?id=1563246 Firefox implemented
      fetching the Public Suffix List via RemoteSettings and replacing the default
      one at runtime, which we do not want.
      c7826a06
    • Alex Catarineu's avatar
      Bug 40025: Remove Mozilla add-on install permissions · da7a7775
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      da7a7775
    • Kathleen Brade's avatar
      Bug 33852: Clean up about:logins (LockWise) to avoid mentioning sync, etc. · 7f72ef8f
      Kathleen Brade authored and Georg Koppen's avatar Georg Koppen committed
      Hide elements on about:logins that mention sync, "Firefox LockWise", and
      Mozilla's LockWise mobile apps.
      
      Disable the "Create New Login" button when security.nocertdb is true.
      7f72ef8f
    • Kathleen Brade's avatar
      Bug 32418: Allow updates to be disabled via an enterprise policy. · 47fd1175
      Kathleen Brade authored and Georg Koppen's avatar Georg Koppen committed
      Restrict the Enterprise Policies mechanism to only consult a
      policies.json file (avoiding the Windows Registry and macOS's
      file system attributes).
      
      Add a few disabledByPolicy() checks to the update service to
      avoid extraneous (and potentially confusing) log messages when
      updates are disabled by policy.
      
      Sample content for distribution/policies.json:
      {
        "policies": {
          "DisableAppUpdate": true
        }
      }
      
      On Linux, avoid reading policies from /etc/firefox/policies/policies.json
      47fd1175
    • Alex Catarineu's avatar
      Bug 21952: Implement Onion-Location · 30da2c13
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      Whenever a valid Onion-Location HTTP header (or corresponding HTML
      <meta> http-equiv attribute) is found in a document load, we either
      redirect to it (if the user opted-in via preference) or notify the
      presence of an onionsite alternative with a badge in the urlbar.
      30da2c13
    • Alex Catarineu's avatar
      Bug 28005: Implement .onion alias urlbar rewrites · 14798ecf
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      A custom HTTPS Everywhere update channel is installed,
      which provides rules for locally redirecting some memorable
      .tor.onion URLs to non-memorable .onion URLs.
      
      When these redirects occur, we also rewrite the URL in the urlbar
      to display the human-memorable hostname instead of the actual
      .onion.
      
      Bug 34196: Update site info URL with the onion name
      14798ecf
    • Alex Catarineu's avatar
      Bug 33342: Avoid disconnect search addon error after removal. · 9b8cafae
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      We removed the addon in #32767, but it was still being loaded
      from addonStartup.json.lz4 and throwing an error on startup
      because its resource: location is not available anymore.
      9b8cafae
    • Matthew Finkel's avatar
      Bug 28125 - Prevent non-Necko network connections · 60630272
      Matthew Finkel authored and Georg Koppen's avatar Georg Koppen committed
      60630272
    • Matthew Finkel's avatar
      Bug 25741 - TBA: Disable GeckoNetworkManager · a45329e1
      Matthew Finkel authored and Georg Koppen's avatar Georg Koppen committed
      The browser should not need information related to the network
      interface or network state, tor should take care of that.
      a45329e1
    • Amogh Pradeep's avatar
      Orfox: Centralized proxy applied to AbstractCommunicator and BaseResources. · 6336a1b2
      Amogh Pradeep authored and Georg Koppen's avatar Georg Koppen committed
      See Bug 1357997 for partial uplift.
      
      Also:
      Bug 28051 - Use our Orbot for proxying our connections
      
      Bug 31144 - ESR68 Network Code Review
      6336a1b2
    • Matthew Finkel's avatar
      Bug 24796 - Comment out excess permissions from GeckoView · f332936a
      Matthew Finkel authored and Georg Koppen's avatar Georg Koppen committed
      The GeckoView AndroidManifest.xml is not preprocessed unlike Fennec's
      manifest, so we can't use the ifdef preprocessor guards around the
      permissions we do not want. Commenting the permissions is the
      next-best-thing.
      f332936a
    • Georg Koppen's avatar
      Bug 32658: Create a new MAR signing key · 00eca1de
      Georg Koppen authored
      It's time for our rotation again: Move the backup key in the front
      position and add a new backup key.
      00eca1de
    • Kathleen Brade's avatar
      Bug 30237: Add v3 onion services client authentication prompt · 42f64123
      Kathleen Brade authored and Georg Koppen's avatar Georg Koppen committed
      When Tor informs the browser that client authentication is needed,
      temporarily load about:blank instead of about:neterror and prompt
      for the user's key.
      
      If a correctly formatted key is entered, use Tor's ONION_CLIENT_AUTH_ADD
      control port command to add the key (via Torbutton's control port
      module) and reload the page.
      
      If the user cancels the prompt, display the standard about:neterror
      "Unable to connect" page. This requires a small change to
      browser/actors/NetErrorChild.jsm to account for the fact that the
      docShell no longer has the failedChannel information. The failedChannel
      is used to extract TLS-related error info, which is not applicable
      in the case of a canceled .onion authentication prompt.
      
      Add a leaveOpen option to PopupNotifications.show so we can display
      error messages within the popup notification doorhanger without
      closing the prompt.
      
      Add support for onion services strings to the TorStrings module.
      
      Add support for Tor extended SOCKS errors (Tor proposal 304) to the
      socket transport and SOCKS layers. Improved display of all of these
      errors will be implemented as part of bug 30025.
      
      Also fixes bug 19757:
       Add a "Remember this key" checkbox to the client auth prompt.
      
       Add an "Onion Services Authentication" section within the
       about:preferences "Privacy & Security section" to allow
       viewing and removal of v3 onion client auth keys that have
       been stored on disk.
      
      Also fixes bug 19251: use enhanced error pages for onion service errors.
      42f64123
    • Richard Pospesel's avatar
      Bug 32220: Improve the letterboxing experience · f1e85da2
      Richard Pospesel authored and Georg Koppen's avatar Georg Koppen committed
      CSS and JS changes to alter the UX surrounding letterboxing. The
      browser element containing page content is now anchored to the bottom
      of the toolbar, and the remaining letterbox margin is the same color
      as the firefox chrome. The letterbox margin and border are tied to
      the currently selected theme.
      
      Also adds a 'needsLetterbox' property to tabbrowser.xml to fix a race
      condition present when using the 'isEmpty' property. Using 'isEmpty'
      as a proxy for 'needsLetterbox' resulted in over-zealous/unnecessary
      letterboxing of about:blank tabs.
      f1e85da2
    • Alex Catarineu's avatar
      Bug 27604: Fix addon issues when moving TB directory · d055a229
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      d055a229
    • Alex Catarineu's avatar
      Bug 31740: Remove some unnecessary RemoteSettings instances · 022d8c6f
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      More concretely, SearchService.jsm 'hijack-blocklists' and
      url-classifier-skip-urls.
      
      Avoid creating instance for 'anti-tracking-url-decoration'.
      
      If prefs are disabling their usage, avoid creating instances for
      'cert-revocations' and 'intermediates'.
      
      Do not ship JSON dumps for collections we do not expect to need. For
      the ones in the 'main' bucket, this prevents them from being synced
      unnecessarily (the code in remote-settings does so for collections
      in the main bucket for which a dump or local data exists). For the
      collections in the other buckets, we just save some size by not
      shipping their dumps.
      
      We also clear the collections database on the v2 -> v3 migration.
      022d8c6f
    • Alex Catarineu's avatar
      Bug 32092: Fix Tor Browser Support link in preferences · 9b3c260a
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      9b3c260a
    • Richard Pospesel's avatar
      Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#tor · ffdcbbd6
      Richard Pospesel authored and Georg Koppen's avatar Georg Koppen committed
      This patch adds a new about:preferences#tor page which allows modifying
      bridge, proxy, and firewall settings from within Tor Browser. All of the
      functionality present in tor-launcher's Network Configuration panel is
      present:
      
       - Setting built-in bridges
       - Requesting bridges from BridgeDB via moat
       - Using user-provided bridges
       - Configuring SOCKS4, SOCKS5, and HTTP/HTTPS proxies
       - Setting firewall ports
       - Viewing and Copying Tor's logs
       - The Networking Settings in General preferences has been removed
      ffdcbbd6
    • Alex Catarineu's avatar
      Bug 13543: Spoof smooth and powerEfficient for Media Capabilities · 2f638f9c
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      2f638f9c
    • Kathleen Brade's avatar
      Bug 31607: App menu items stop working on macOS · e872fce7
      Kathleen Brade authored and Georg Koppen's avatar Georg Koppen committed
      Avoid re-creating the hidden window, since this causes the nsMenuBarX
      object that is associated with the app menu to be freed (which in
      turn causes all of the app menu items to stop working).
      
      More detail: There should only be one hidden window.
      XREMain::XRE_mainRun() contains an explicit call to create the
      hidden window and that is the normal path by which it is created.
      However, when Tor Launcher's wizard/progress window is opened during
      startup, a hidden window is created earlier as a side effect of
      calls to nsAppShellService::GetHiddenWindow(). Then, when
      XREMain::XRE_mainRun() creates its hidden window, the original one
      is freed which also causes the app menu's nsMenuBarX object which
      is associated with that window to be destroyed. When that happens,
      the menuGroupOwner property within each Cocoa menu items's MenuItemInfo
      object is cleared. This breaks the link that is necessary for
      NativeMenuItemTarget's menuItemHit method to dispatch a menu item
      event.
      e872fce7
    • Kathleen Brade's avatar
      Bug 26961: New user onboarding. · 19ca3038
      Kathleen Brade authored and Georg Koppen's avatar Georg Koppen committed
      Reuse the Firefox onboarding mechanism with minimal changes.
      Localizable strings are pulled in from Torbutton (if Torbutton is
        not installed, we lack about:tor and no tour will be shown).
      Replace SVG images with PNGs (see bug 27002),
      For defense in depth, omit include OnboardingTelemetry.jsm entirely.
      Added support for the following UITour page event:
        torBrowserOpenSecuritySettings
      
      Also fix bug 27403: the onboarding bubble is not always displayed.
      
      Arthur suggested to make the onboarding bubble visible on displays with
      less than 960px width available, so we choose 200px instead.
      
      Also fix bug 28628: Change onboarding Security panel to open new
      Security Level panel.
      
      Also fix bug 27484: Improve navigation within onboarding.
      
      Bug 27082: enable a limited UITour
      
      Disallow access to UITour functionality from all pages other than
        about:home, about:newtab, and about:tor.
      Implement a whitelist mechanism for page actions.
      
      Bug 26962 - implement new features onboarding (part 1).
      
      Add an "Explore" button to the "Circuit Display" panel within new user
      onboarding which opens the DuckDuckGo .onion and then guides users through
      a short circuit display tutorial.
      
      Allow a few additional UITour actions while limiting as much as possible
      how it can be used.
      
      Tweak the UITour styles to match the Tor Browser branding.
      
      All user interface strings are retrieved from Torbutton's
      browserOnboarding.properties file.
      
      Bug 27486 Avoid about:blank tabs when opening onboarding pages.
      
      Instead of using a simple <a href>, programmatically open onboarding
      web pages by using tabBrowser.addTab(). The same technique is now
      used for "See My Path", "See FAQs", and "Visit an Onion".
      
      Bug 29768: Introduce new features to users
      
      Add an "update" tour for the Tor Browser 8.5 release that contains two
      panels: Toolbar and Security (with appropriate description text and
      images).
      
      Display an attention-grabbing dot on the onboarding text bubble when
      the update tour is active. The animation lasts for 14 seconds.
      
      Bug 31768: Introduce toolbar and network settings changes in onboarding
      
      Update the "Tor Network" onboarding page to include a note that
      settings can now be accessed via the application preferences and
      add an "Adjust Your Tor Network Settings" action button which opens
      about:preferences#tor.
      
      Replace the Tor Browser 8.5 "update" onboarding tour with a 9.0 one
      that includes the revised "Tor Network" page and a revised "Toolbar"
      page. The latter explains that Torbutton's toolbar item has been
      removed ("Goodbye Onion Button") and explains how to access the
      New Identity feature using the hamburger menu and new toolbar item.
      
      Bug 34321 - Add Learn More onboarding item
      19ca3038
    • Alex Catarineu's avatar
      Bring back old Firefox onboarding · bab624ee
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      Revert "Bug 1462415 - Delete onboarding system add-on r=Standard8,k88hudson"
      
      This reverts commit f7ffd78b.
      
      Revert "Bug 1498378 - Actually remove the old onboarding add-on's prefs r=Gijs"
      
      This reverts commit 057fe36f.
      
      Bug 28822: Convert onboarding to webextension
      
      Partially revert 1564367 (controlCenter in UITour.jsm)
      bab624ee
    • Alex Catarineu's avatar
      Bug 27511: Add new identity button to toolbar · e8f67649
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      Also added 'New circuit for this site' button to CustomizableUI, but
      not visible by default.
      e8f67649
    • Alex Catarineu's avatar
      Bug 31575: Replace Firefox Home (newtab) with about:tor · 41ffe562
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      Avoid loading AboutNewTab in BrowserGlue.jsm in order
      to avoid several network requests that we do not need. Besides,
      about:newtab will now point to about:blank or about:tor (depending
      on browser.newtabpage.enabled) and about:home will point to
      about:tor.
      41ffe562
    • Alex Catarineu's avatar
      Bug 26345: Hide tracking protection UI · 796919d9
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      796919d9
    • Alex Catarineu's avatar
    • Georg Koppen's avatar
      e052bd2a
    • Richard Pospesel's avatar
      Bug 23247: Communicating security expectations for .onion · d074ef0f
      Richard Pospesel authored and Georg Koppen's avatar Georg Koppen committed
      Encrypting pages hosted on Onion Services with SSL/TLS is redundant
      (in terms of hiding content) as all traffic within the Tor network is
      already fully encrypted.  Therefore, serving HTTP pages from an Onion
      Service is more or less fine.
      
      Prior to this patch, Tor Browser would mostly treat pages delivered
      via Onion Services as well as pages delivered in the ordinary fashion
      over the internet in the same way.  This created some inconsistencies
      in behaviour and misinformation presented to the user relating to the
      security of pages delivered via Onion Services:
      
       - HTTP Onion Service pages did not have any 'lock' icon indicating
         the site was secure
       - HTTP Onion Service pages would be marked as unencrypted in the Page
         Info screen
       - Mixed-mode content restrictions did not apply to HTTP Onion Service
         pages embedding Non-Onion HTTP content
      
      This patch fixes the above issues, and also adds several new 'Onion'
      icons to the mix to indicate all of the various permutations of Onion
      Services hosted HTTP or HTTPS pages with HTTP or HTTPS content.
      
      Strings for Onion Service Page Info page are pulled from Torbutton's
      localization strings.
      d074ef0f
    • Alex Catarineu's avatar
      Bug 28369: Stop shipping pingsender executable · 6e077925
      Alex Catarineu authored and Georg Koppen's avatar Georg Koppen committed
      6e077925
    • Arthur Edelstein's avatar
      Bug 26353: Prevent speculative connect that violated FPI. · bbfa6145
      Arthur Edelstein authored and Georg Koppen's avatar Georg Koppen committed
      Connections were observed in the catch-all circuit when
      the user entered an https or http URL in the URL bar, or
      typed a search term.
      bbfa6145
    • Richard Pospesel's avatar
      Bug 25658: Replace security slider with security level UI · 89411b80
      Richard Pospesel authored and Georg Koppen's avatar Georg Koppen committed
      This patch adds a new 'securitylevel' component to Tor Browser intended
      to replace the torbutton 'Security Slider'.
      
      This component adds a new Security Level toolbar button which visually
      indicates the current global security level via icon (as defined by the
      extensions.torbutton.security_slider pref), a drop-down hanger with a
      short description of the current security level, and a new section in
      the about:preferences#privacy page where users can change their current
      security level. In addition, the hanger and the preferences page will
      show a visual warning when the user has modified prefs associated with
      the security level and provide a one-click 'Restore Defaults' button to
      get the user back on recommended settings.
      
      Strings used by this patch are pulled from the torbutton extension, but
      en-US defaults are provided if there is an error loading from the
      extension. With this patch applied, the usual work-flow of "./mach build
      && ./mach run" work as expected, even if the torbutton extension is
      disabled.
      89411b80
    • Igor Oliveira's avatar
      Bug 23104: Add a default line height compensation · 1caa5b7b
      Igor Oliveira authored and Georg Koppen's avatar Georg Koppen committed
      Many fonts have issues with their vertical metrics. they
      are used to influence the height of ascenders and depth
      of descenders. Gecko uses it to calculate the line height
      (font height + ascender + descender), however because of
      that idiosyncratic behavior across multiple operating
      systems, it can be used to identify the user's OS.
      
      The solution proposed in the patch uses a default factor
      to be multiplied with the font size, simulating the concept
      of ascender and descender. This way all operating
      systems will have the same line height only and only if the
      frame is outside the chrome.
      1caa5b7b
    • Georg Koppen's avatar
      Bug 21830: Copying large text from web console leaks to /tmp · b7403427
      Georg Koppen authored
      Patch written by Neill Miller
      b7403427
    • Kathleen Brade's avatar
      Bug 21431: Clean-up system extensions shipped in Firefox · 87a50675
      Kathleen Brade authored and Georg Koppen's avatar Georg Koppen committed
      Only ship the pdfjs extension.
      87a50675
    • Georg Koppen's avatar
      Bug 16285: Exclude ClearKey system for now · 367d5ad1
      Georg Koppen authored
      In the past the ClearKey system had not been compiled when specifying
      --disable-eme. But that changed and it is even bundled nowadays (see:
      Mozilla's bug 1300654). We don't want to ship it right now as the use
      case for it is not really visible while the code had security
      vulnerabilities in the past.
      367d5ad1
Loading