68.0.0-9.0-2

Base commit: 142c0926

Branches:
Uplift Bug Tags Commit build Description
B T M
u ed470d44 n
BugLinkability
First request after copying and pasting an URL in URL bar seems to go over the catch-all circuit
Bug 26353
: Prevent speculative connect that violated FPI.

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.

Author: Arthur Edelstein, 2018-07-14 08:50:55 -0700
Committer: Georg Koppen, 2019-08-19 09:11:22 +0000
  • REOPENED, Blocks: 335545, [tor 21830]
    Copying large text from web console leaks to /tmp
    Bug 1433030
  • RESOLVED FIXED(Fx107), Blocks: 1123480, [tor 21830]
    nsTransferable disk-leaks when private browsing mode is enabled by default
    Bug 1768907
u e209f607 n
BugDisk Leak
Copying large text from web console leaks to /tmp
Bug 21830
: Copying large text from web console leaks to /tmp

Patch written by Neill Miller

Author: Georg Koppen, 2017-08-04 05:55:49 +0000
Committer: Georg Koppen, 2019-08-19 09:11:07 +0000
  • RESOLVED FIXED(Fx60), [tor][domsecurity-active][tor 21321][tor 23439]
    Treat .onion as a secure context
    Bug 1382359
  • NEW, Blocks: 1382359, [tor 21321]
    Adapt browser_insecureLoginForms.js to take into account that .onion domains might be secure
    Bug 1444062
u 1c29b0f4 n
TaskUX
.onion HTTP is shown as non-secure in Tor Browser
Bug 21321
: Add test for .onion whitelisting
Author: Georg Koppen, 2017-07-24 10:23:00 +0000
Committer: Georg Koppen, 2019-08-19 09:11:04 +0000
  • NEW, [tor 16439]
    add flag to drop screensharing from build
    Bug 1432684
u 18f452ab n
Bug
remove screencasting code
Bug 16439
: remove screencasting code.

Screencasting is disabled in desktop browsers because browser.casting.enabled = false. However, to avoid including code that could lead to proxy bypass, we exclude the related JS modules from Tor Browser.

Author: Kathy Brade, 2015-06-24 11:01:11 -0400
Committer: Georg Koppen, 2019-08-19 09:07:15 +0000
20517c92 n
Revert "Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release"

This reverts commit d70b3e8a17aa734177d072c26d2ad68dd07a3189.

Author: Georg Koppen, 2019-08-07 20:38:05 +0000
Committer: Georg Koppen, 2019-08-19 09:12:21 +0000
1eea5e96 n
Picking up Torbutton esr68 changes Author: Georg Koppen, 2019-08-07 20:26:36 +0000
Committer: Georg Koppen, 2019-08-19 09:12:07 +0000
c5aa53a4 n
ProjectUX
Communicating security expectations for .onion: what to say about different padlock states for .onion services
Bug 23247
: Communicating security expectations for .onion

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.

Author: Richard Pospesel, 2018-06-08 13:38:40 -0700
Committer: Georg Koppen, 2019-08-19 09:11:42 +0000
cd6c4387 n
BugProxy Bypass
remove pingsender from Tor Browser
Bug 28369
: stop shipping pingsender executable
Author: Alex Catarineu, 2019-04-10 17:52:51 +0200
Committer: Georg Koppen, 2019-08-19 09:11:40 +0000
3ed75dde n
ProjectRoadmap::FutureUX
Improve user understanding and user control by clarifying Tor Browser's security features
Bug 25658
: Replace security slider with security level UI

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.

Author: Richard Pospesel, 2019-03-04 16:09:51 -0800
Committer: Georg Koppen, 2019-08-19 09:11:37 +0000
  • RESOLVED FIXED(Fx75), [tor 29120]
    Ensure media cache is memory-only when in Private Browsing Mode
    Bug 1532486
f a53517de n
BugDisk LeakUX
Default value of media.cache_size (0) causes some media to load extremely slowly or become unplayable
Bug 29120
: Enable media cache in memory

Back then in MikePerry201402Rcomponent::torbrowserbuttonowner::mikeperrypriority::highresolution::fixedstatus::closedtbb-3.0tbb-disk-leaktbb-preftbb-testcasetype::defect
Media Cache is written on disk
bug 10237
we set media.cache_size to 0 in the attempt to block disk caching if we are in Private Browsing Mode. However, it turns out that is not enough to prevent writing to disk in that case and, moreover, is the reason for poor video performance in some cases.

The patch in this commit addresses both issues by enabling the media cache again and making sure it stays memory-only in Private Browsing Mode.

Big thanks to a cypherpunk for analyzing the bug and providing the patch.

Author: Georg Koppen, 2019-03-04 08:38:22 +0000
Committer: Georg Koppen, 2019-08-19 09:11:35 +0000
  • RESOLVED FIXED(Fx79), [tor 28885]
    add an option to show that an update is being downloaded
    Bug 1642404
  • RESOLVED FIXED(Fx79), [tor 28885]
    Update prompts should not depend on whether an update was initiated manually
    Bug 1642754
f 3534251c n
BugBugSmashFundUXUpdater
notify users that update is downloading
Bug 28885
: notify users that update is downloading

Add a "Downloading Tor Browser update" item which appears in the hamburger (app) menu while the update service is downloading a MAR file. Before this change, the browser did not indicate to the user that an update was in progress, which is especially confusing in Tor Browser because downloads often take some time. If the user clicks on the new menu item, the about dialog is opened to allow the user to see download progress.

As part of this fix, the update service was changed to always show update-related messages in the hamburger menu, even if the update was started in the foreground via the about dialog or via the "Check for Tor Browser Update" toolbar menu item. This change is consistent with the Tor Browser goal of making sure users are informed about the update process.

Author: Kathy Brade, 2019-01-16 15:06:07 -0500
Committer: Georg Koppen, 2019-08-19 09:11:33 +0000
bcda690b n
BugUX
Activity 1.1 Update Tor Browser icon to follow design guidelines.
Bug 25702
: Update Tor Browser icon to follow design guidelines
  • Updated all of the branding in /browser/branding/official with new 'stable' icon series.
  • Updated /extensions/onboarding/content/img/tor-watermark.png with new icon and add the source svg in the same directory
  • Copied /browser/branding/official over /browser/branding/nightly and the new /browser/branding/alpha directories. Replaced content with 'nightly' and 'alpha' icon series. Updated VisualElements_70.png and VisualElements_150.png with updated icons in each branding directory (fixes #22654)
  • Updated firefox.VisualElementsManfiest.xml with updated colors in each branding directory
  • Updated content/identity-icons-brand.svg with Tor Browser icon (fixes #28111)
  • Added firefox.svg to each branding directory from which all the other icons are derived (apart from document.icns and document.ico)
  • Added default256.png and default512.png icons
  • Updated aboutTBUpdate.css to point to branding-aware icon128.png and removed original icon
Author: Richard Pospesel, 2019-01-11 16:08:47 -0800
Committer: Georg Koppen, 2019-08-19 09:11:30 +0000
ea2b817b n
Bug
potentially confusing "restart to update" message in ESR60
Bug 26048
: potentially confusing "restart to update" message

Within the update doorhanger, remove the misleading message that mentions that windows will be restored after an update is applied, and replace the "Restart and Restore" button label with an existing "Restart to update Tor Browser" string.

Author: Kathy Brade, 2018-08-28 11:58:55 -0400
Committer: Georg Koppen, 2019-08-19 09:11:28 +0000
  • RESOLVED FIXED(Fx70), Blocks: 1329996, [tor 24056]
    UI locale is detectable by button width
    Bug 1561322
f 243a6892 n
BugFingerprinting
UI locale is detectable by button width
Bug 24056
: Use en-US strings in HTML forms

When privacy.spoof_english = 2, we should hide the user's locale in content. So we use en-US default strings for HTML form elements, such as a Submit button.

We also force GetLocalizedEllipsis() to always return the ellipsis used by en-US.

Author: Arthur Edelstein, 2018-08-06 13:20:40 -0700
Committer: Georg Koppen, 2019-08-19 09:11:25 +0000
8784b467 n
Bug
enable a limited UITour
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.

Author: Kathy Brade, 2018-08-08 11:34:40 -0400
Committer: Georg Koppen, 2019-08-19 09:11:24 +0000
dfbbee9a n
Task
Create a new MAR signing key for ESR60
Bug 26045
: Add new MAR signing keys

We need to have new MAR singning keys for our watershed update: both keys we shipped so far need to get replaced by news ones, now using SHA-384 as their hash algorithm.

Author: Georg Koppen, 2018-06-13 09:03:59 +0000
Committer: Georg Koppen, 2019-08-19 09:11:19 +0000
  • RESOLVED FIXED(Fx77), [necko-triaged] [tor 21537]
    Allow 'secure' cookies when set by .onion site
    Bug 1633015
f 75fe80cf n
FeatureUX
Consider ignoring secure cookies for .onion addresses
Bug 21537
: Tests for secure .onion cookies
Author: Georg Koppen, 2018-04-13 17:00:11 +0000
Committer: Georg Koppen, 2019-08-19 09:11:16 +0000
90f8d5dc n
FeatureUX
Consider ignoring secure cookies for .onion addresses
Bug 21537
: Mark .onion cookies as secure
Author: Georg Koppen, 2018-04-13 16:59:24 +0000
Committer: Georg Koppen, 2019-08-19 09:11:13 +0000
  • RESOLVED INVALID, [fingerprinting][fp-triaged][tor 22548]
    Review hardware-benchmarked algorithm choices and hardcode choices in Resist Fingerprinting mode
    Bug 1428351
  • RESOLVED FIXED(Fx132), Blocks: 1329996, 1428351, [tor 22548] [fingerprinting][fp-triaged]
    Hardcode VP8/VP9 algorithm choice when resisting fingerprinting
    Bug 1436226
f 6864d37b n
BugFingerprinting
Firefox downgrades VP9 videos to VP8 when measured performance is not enough
Bug 22548
: Firefox downgrades VP9 videos to VP8.

On systems where H.264 is not available or no HWA, VP9 is preferred. But in Tor Browser 7.0 all youtube videos are degraded to VP8.

This behaviour can be turned off by setting media.benchmark.vp9.threshold to 0. All clients will get better experience and lower traffic, beause TBB doesn't use "Use hardware acceleration when available".

Author: Fernando Fernandez Mancera, 2018-01-06 21:26:05 +0100
Committer: Georg Koppen, 2019-08-19 09:11:11 +0000
  • RESOLVED WONTFIX, Blocks: 1329996, [tor 23104][tor 23701][tor 29563][fingerprinting][fp-triaged]
    CSS line-height reveals platform
    Bug 1397994
ad665602 n
BugBugSmashFundFingerprinting
CSS line-height reveals the platform Tor Browser is running on
Bug 23104
: Add a default line height compensation

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.

Author: Igor Oliveira, 2017-12-10 18:16:59 -0200
Committer: Georg Koppen, 2019-08-19 09:11:09 +0000
2ae0c36f n
Task
Clean-up system extensions shipped in Firefox 52
Bug 21431
: Clean-up system extensions shipped in Firefox 52

Only ship the pdfjs extension.

Author: Kathy Brade, 2017-05-23 17:05:29 -0400
Committer: Georg Koppen, 2019-08-19 09:11:02 +0000
c6c3cf87 n
All PlatformsApps::Impact::HighApps::Type::AuditLinkabilityRoadmap::FutureTaskesr-115
Make sure EME is no tracking risk in Tor Browser
Bug 16285
: Exclude ClearKey system for now

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 RESOLVED FIXED(Fx52), Blocks: 1299627, 1299694, 1528884
Remove MOZ_EME build option and make EME disabled by preferences.
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.

Author: Georg Koppen, 2017-05-22 12:44:40 +0000
Committer: Georg Koppen, 2019-08-19 09:11:00 +0000
b397f027 n
Bug
Tor Browser nightly (based on ESR52) is not running on CentOS 6
Bug 21907
: Fix runtime error on CentOS 6

In Mozilla RESOLVED FIXED(Fx53), Blocks: 1313097
Build of Firefox Aurora 52.0b2 fails on CentOS 6 with '--enable-default-toolkit=cairo-gtk2'
bug 1324780
, support for building with glib 2.28 (the version available in CentOS 6) was added. However we are building on Debian Wheezy which has glib 2.32. We fix that by backing out all glib > 2.28 code paths.

Author: Nicolas Vigier, 2017-04-10 16:07:23 +0200
Committer: Georg Koppen, 2019-08-19 09:10:58 +0000
cdf8d60d n
Bug
Create a rebased patch for #18885
Bug 21849
: Don't allow SSL key logging
Author: Arthur Edelstein, 2017-04-06 17:09:09 -0700
Committer: Georg Koppen, 2019-08-19 09:10:56 +0000
d8c95556 n
MikePerry201205actualpoints::3component::firefox patch issuesowner::mikeperrypoints::3priority::immediateresolution::fixedseverity::normalstatus::closedtbb-proxy-bypasstype::defect
TBB proxy bypass: Some DNS requests not going through Tor
Bug #5741
: Prevent WebSocket DNS leak.

This is due to an improper implementation of the WebSocket spec by Mozilla.

"There MUST be no more than one connection in a CONNECTING state. If multiple connections to the same IP address are attempted simultaneously, the client MUST serialize them so that there is no more than one connection at a time running through the following steps.

If the client cannot determine the IP address of the remote host (for example, because all communication is being done through a proxy server that performs DNS queries itself), then the client MUST assume for the purposes of this step that each host name refers to a distinct remote host,"

https://tools.ietf.org/html/rfc6455#page-15

They implmented the first paragraph, but not the second...

While we're at it, we also prevent the DNS service from being used to look up anything other than IP addresses if socks_remote_dns is set to true, so this bug can't turn up in other components or due to 3rd party addons.

Author: Mike Perry, 2013-09-10 17:00:27 -0700
Committer: Georg Koppen, 2019-08-19 09:10:53 +0000
1f214e0b n
Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing

eBay and Amazon don't treat Tor users very well. Accounts often get locked and payments reversed.

Also: FeatureUX
Use duckduckgo hidden service instead of clearnet one
Bug 16322
: Update DuckDuckGo search engine

We are replacing the clearnet URL with an onion service one (thanks to a patch by a cypherpunk) and are removing the duplicated DDG search engine. Duplicating DDG happend due to VERIFIED FIXED(Fx36), Blocks: 1073292
Add DuckDuckGo to default search engine list
bug 1061736
where Mozilla included DDG itself into Firefox. Interestingly, this caused breaking the DDG search if JavaScript is disabled as the Mozilla engine, which gets loaded earlier, does not use the html version of the search page. Moreover, the Mozilla engine tracked where the users were searching from by adding a respective parameter to the search query. We got rid of that feature as well.

Also: This fixes FeatureUX
Use non-/html search engine URL for DuckDuckGo search plugins
bug 20809
: the DuckDuckGo team has changed its server-side code in a way that lets users with JavaScript enabled use the default landing page while those without JavaScript available get redirected directly to the non-JS page. We adapt the search engine URLs accordingly.

Also fixes Bug
build1 for Tor Browser 8.5a9 is broken in mobile packaging step
bug 29798
by making sure we only specify the Google search engine we actually ship an .xml file for.

Author: Mike Perry, 2017-05-05 03:41:57 -0700
Committer: Georg Koppen, 2019-08-19 09:10:51 +0000
bec4a9f3 n
Feature
Implement loading (only) local change notes after a Tor Browser update
Bug 16940
: After update, load local change notes.

Add an about:tbupdate page that displays the first section from TorBrowser/Docs/ChangeLog.txt and includes a link to the remote post-update page (typically our blog entry for the release).

Always load about:tbupdate in a content process, but implement the code that reads the file system (changelog) in the chrome process for compatibility with future sandboxing efforts.

Also fix TaskUXUpdater
Update about:tor when Tor Browser is updated
bug 29440
. Now about:tbupdate is styled as a fairly simple changelog page that is designed to be displayed via a link that is on about:tor.

Author: Kathy Brade, 2015-11-25 11:36:20 -0500
Committer: Georg Koppen, 2019-08-19 09:10:48 +0000
ade0e368 n
Bug
Distinguish between Tor Browser and Firefox when macOS opens documents
Bug 21724
: Make Firefox and Tor Browser distinct macOS apps

When macOS opens a document or selects a default browser, it sometimes uses the CFBundleSignature. Changing from the Firefox MOZB signature to a different signature TORB allows macOS to distinguish between Firefox and Tor Browser.

Author: teor, 2017-03-13 23:06:23 +1100
Committer: Georg Koppen, 2019-08-19 09:10:46 +0000
752fcc36 n
BugBugSmashFund
Tor Browser on OS X should not store data into the application bundle
Bug 13252
: Do not store data in the app bundle

Add an --enable-tor-browser-data-outside-app-dir configure option. When this is enabled, all user data is stored in a directory named TorBrowser-Data which is located next to the application directory.

Display an informative error message if the TorBrowser-Data directory cannot be created due to an "access denied" or a "read only volume" error.

On Mac OS, add support for the --invisible command line option which is used by the meek-http-helper to avoid showing an icon for the helper browser on the dock.

Author: Kathy Brade, 2016-03-18 14:20:02 -0400
Committer: Georg Koppen, 2019-08-19 09:08:07 +0000
ea75b18e n
MikePerry201405Rcomponent::applications/tor bundles/installationowner::mcsparent::4234priority::mediumresolution::fixedstatus::closedtype::defect
change TBB directory structure to be more like Firefox's
Bug 11641
: change TBB directory structure to be more like Firefox's

Unless the -osint command line flag is used, the browser now defaults to the equivalent of -no-remote. There is a new -allow-remote flag that may be used to restore the original (Firefox-like) default behavior.

Author: Kathy Brade, 2014-04-29 13:08:24 -0400
Committer: Georg Koppen, 2019-08-19 09:07:49 +0000
b7571e4b n
MikePerry201311Rcomponent::firefox patch issuesowner::mcspriority::very highresolution::fixedstatus::closedtbb-3.0-backporttbb-no-uplifttbb-usabilitytype::defect
Relocate RelativeLink functionality to Firefox patch
Bug 9173
: Change the default Firefox profile directory to be TBB-relative.

This should eliminate our need to rely on a wrapper script that sets /Users/arthur and launches Firefox with -profile.

Author: Kathy Brade, 2013-10-18 15:20:06 -0400
Committer: Georg Koppen, 2019-08-19 09:07:47 +0000
  • VERIFIED FIXED, Blocks: 1280378, [tor 19890]
    [Out Of Date Notification] Notification bar is displayed for Tor Browser
    Bug 1294395
3d3ce288 n
Bug
Tor Browser warning: "Your Firefox is out of date."
Bug 19890
: Disable installation of system addons

By setting the URL to "" we make sure that already installed system addons get deleted as well.

Author: Georg Koppen, 2016-08-11 11:00:24 +0000
Committer: Georg Koppen, 2019-08-19 09:07:45 +0000
06e348fb n
TaskUX
Write C++ patch to replace external applications helper dialog workaround
Bug 19273
: Avoid JavaScript patching of the external app helper dialog.

When handling an external URI or downloading a file, invoke Torbutton's external app blocker component (which will present a download warning dialog unless the user has checked the "Automatically download files from now on" box).

For e10s compatibility, avoid using a modal dialog and instead use a callback interface (nsIHelperAppWarningLauncher) to allow Torbutton to indicate the user's desire to cancel or continue each request.

Other bugs fixed: Bug
Tor Browser based on ESR52 with e10s enabled crashed while trying to download a file
Bug 21766
: Crash with e10s enabled while trying to download a file BugUX
Downloading of binary files stalls at 0/0 bytes in Tor Browser based on ESR52 with e10s off
Bug 21886
: Download is stalled in non-e10s mode Bug
Downloading pdf files with the download button in the pdf viewer is stalling
Bug 22471
: Downloading files via the PDF viewer download button is broken Bug
Handle downloads via FTP better when external helper app dialog is shown
Bug 22472
: Fix FTP downloads when external helper app dialog is shown Bug
Tor Browser 7 crashes when cancelling downloads on the external helper app warning
Bug 22610
: Avoid crashes when canceling external helper app downloads Bug
Downloading pdf file via file:/// is stalling if the external helper dialog is enabled
Bug 22618
: Downloading pdf file via file:/// is stalling

Author: Kathy Brade, 2016-06-28 15:13:05 -0400
Committer: Georg Koppen, 2019-08-19 09:07:44 +0000
  • RESOLVED WONTFIX, [tor 18923]
    Add build flag to disable network tickler
    Bug 1432900
0c0ff4f3 n
Feature
Add a script in tor-browser.git to run all of our TBB-specific regression tests
Bug 18923
: Add a script to run all Tor Browser specific tests
Author: Nicolas Vigier, 2016-07-14 17:09:12 +0200
Committer: Georg Koppen, 2019-08-19 09:07:41 +0000
ecc3f24d n
Regression tests for #2874: Block Components.interfaces from content Author: Arthur Edelstein, 2014-08-27 12:16:54 -0700
Committer: Georg Koppen, 2019-08-19 09:07:39 +0000
  • RESOLVED FIXED(Fx97), Blocks: 1433504, [tor 18821]
    Introduce a build flag to disable libmdns
    Bug 1432983
f b0e0a6cd n
Proxy BypassTask
Make sure libmdns is Android only and disabled for Orfox
Bug 18821
: Disable libmdns for Android and Desktop

There should be no need to remove the OS X support introduced in https://bugzilla.mozilla.org/show_bug.cgi?id=1225726 as enabling this is governed by a preference (which is actually set to false). However, we remove it at build time as well (defense in depth).

This is basically a backout of the relevant passages of https://hg.mozilla.org/mozilla-central/rev/6bfb430de85d, https://hg.mozilla.org/mozilla-central/rev/609b337bf7ab and https://hg.mozilla.org/mozilla-central/rev/8e092ec5fbbd.

Fixed Bug
Make sure new mDNS code is disabled in ESR 52-based Tor Browsers
bug 21861
(Disable additional mDNS code to avoid proxy bypasses) as well.

Author: Georg Koppen, 2016-04-20 14:34:50 +0000
Committer: Georg Koppen, 2019-08-19 09:07:36 +0000
  • RESOLVED DUPLICATE, Blocks: 1260929, 1433504, [tor 18800]
    Add pref to prevent localhost DNS lookup in nsProfileLock.cpp
    Bug 1432905
b912809e n
BugProxy Bypass
Remove localhost DNS lookup in nsProfileLock.cpp
Bug 18800
: Remove localhost DNS lookup in nsProfileLock.cpp

Instead of using the local computer's IP address within symlink-based profile lock signatures, always use 127.0.0.1.

Author: Kathy Brade, 2016-04-21 10:40:26 -0400
Committer: Georg Koppen, 2019-08-19 09:07:34 +0000
f f9e4922b n
BugBugSmashFund
Transform window.name handling into Firefox patch
Bug 16620
: Clear window.name when no referrer sent

Convert JS implementation (within Torbutton) to a C++ browser patch.

Author: Kathy Brade, 2015-10-30 14:28:13 -0400
Committer: Georg Koppen, 2019-08-19 09:07:32 +0000
1fbc5ef4 n
BugBugSmashFundSecurityUX
8-month-old Tor Browser offers to "Reset Tor Browser", removes extensions
Bug 16441
: Suppress "Reset Tor Browser" prompt.
Author: Kathy Brade, 2015-12-10 16:42:49 -0500
Committer: Georg Koppen, 2019-08-19 09:07:30 +0000
2dab8719 n
BugUX
about:tor should behave more like about:newtab
Bug 14392
: Make about:tor behave like other initial pages.
Author: Mike Perry, 2015-02-11 16:45:24 -0800
Committer: Georg Koppen, 2019-08-19 09:07:28 +0000
bd1787da n
Bountycomponent::applications/tor bundles/installationowner::erinnpriority::highresolution::invalidseverity::blockerstatus::closedtbb-brandingtbb-no-uplifttype::defect
Branding of TBB
Bug 2176
: Rebrand Firefox to TorBrowser

See also Bugs #5194, #7187, #8115, #8219.

This patch does some basic renaming of Firefox to TorBrowser. The rest of the branding is done by images and icons.

Also fix BugUX
many occurrences of "Firefox" in about:preferences
bug 27905
.

Author: Mike Perry, 2013-09-10 16:21:47 -0700
Committer: Georg Koppen, 2019-08-19 09:07:26 +0000
dcf4077b n
Regression tests for "Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing" Author: Arthur Edelstein, 2014-08-22 16:00:15 -0700
Committer: Georg Koppen, 2019-08-19 09:07:23 +0000
3f15c8d1 n
BugBugSmashFundUX
Users that try to run from DMG files run into "Another copy of Firefox is running"
Bug 14631
: Improve profile access error msgs (strings).

To allow for localization, get profile-related error strings from Torbutton. Use app display name ("Tor Browser") in profile-related error alerts.

Author: Kathy Brade, 2015-02-27 10:38:40 -0500
Committer: Georg Koppen, 2019-08-19 09:07:21 +0000
8a7676ec n
BugBugSmashFundUX
Users that try to run from DMG files run into "Another copy of Firefox is running"
Bug 14631
: Improve profile access error messages.

Instead of always reporting that the profile is locked, display specific messages for "access denied" and "read-only file system".

Author: Kathy Brade, 2015-02-24 13:50:23 -0500
Committer: Georg Koppen, 2019-08-19 09:07:19 +0000
  • RESOLVED WONTFIX, Blocks: 1433504, [tor 13028][psm-backlog]
    potential proxy bypasses in networking code
    Bug 1433509
1b34cdf5 n
BugProxy Bypass
Prevent potential proxy bypass cases.
Bug 13028
: Prevent potential proxy bypass cases.

It looks like these cases should only be invoked in the NSS command line tools, and not the browser, but I decided to patch them anyway because there literally is a maze of network function pointers being passed around, and it's very hard to tell if some random code might not pass in the proper proxied versions of the networking code here by accident.

Author: Mike Perry, 2014-09-29 14:30:19 -0700
Committer: Georg Koppen, 2019-08-19 09:07:17 +0000
  • RESOLVED FIXED(Fx42), [reporter-external][post-critsmash-triage][adv-main42+][tor 12974]
    Information disclosure vulnerability in Firefox via NTLM based HTTP authentication feature
    Bug 1046421
554dff5c n
BugFingerprintingLinkability
Disable NTLM and Negotiate HTTP Auth
Bug 12974
: Disable NTLM and Negotiate HTTP Auth

This is technically an embargoed Mozilla bug, so I probably shouldn't provide too many details.

Suffice to say that NTLM and Negotiate auth are bad for Tor users, and I doubt very many (or any of them) actually need it.

The Mozilla bug is https://bugzilla.mozilla.org/show_bug.cgi?id=1046421

Author: Mike Perry, 2014-08-27 15:19:10 -0700
Committer: Georg Koppen, 2019-08-19 09:07:13 +0000
  • RESOLVED WORKSFORME, [tor 10280]
    Introduce a pref that delays plugin loading without user's active consent
    Bug 1432680
f08b8483 n
Feature
Torbrowser shouldn't load flash into the process space by default
Bug 10280
: Don't load any plugins into the address space.
Author: Mike Perry, 2015-03-24 11:02:32 +0000
Committer: Georg Koppen, 2019-08-19 09:07:11 +0000
33a1b727 n
MikePerry201303actualpoints::2component::firefox patch issuesowner::mikeperrypriority::very highresolution::fixedstatus::closedtbb-rebase-regressiontbb-usabilitytype::defect
Remove "This Plugin is Disabled" click-through
Bug 8312
: Remove "This plugin is disabled" barrier.

We do not want to encourage our users to enable plugins at this point.

The barrier also causes bad UX for HTML5 video fallback on YouTube.

Author: Mike Perry, 2013-09-10 18:14:40 -0700
Committer: Georg Koppen, 2019-08-19 09:07:09 +0000
e63b7c76 n
MikePerryIteration20110911actualpoints::3backport-to-mozillacomponent::firefox patch issuesmilestone::TorBrowserBundle 2.2.x-stableowner::mikeperryparent::2871points::2priority::highresolution::fixedstatus::closedtbb-2.2.32-4type::defect
Disable all plugins but flash
Bug 3547
: Block all plugins except flash.

We cannot use the @mozilla.org/extensions/blocklist;1 service, because we actually want to stop plugins from ever entering the browser's process space and/or executing code (for example, AV plugins that collect statistics/analyse urls, magical toolbars that phone home or "help" the user, skype buttons that ruin our day, and censorship filters). Hence we rolled our own.

See https://trac.torproject.org/projects/tor/ticket/3547#comment:6 for musings on a better way. Until then, it is delta-darwinism for us.

Author: Mike Perry, 2012-12-04 16:03:13 -0800
Committer: Georg Koppen, 2019-08-19 09:07:06 +0000
f0b9e7c7 n
BugBugSmashFundPlatform ParityUX
Integrate TorButton to TorBrowser core to prevent users from disabling it
Bug 10760
: Integrate TorButton to TorBrowser core

Feature
Circuit display - Let's remove link from the Tor Button
Bug 26321
: New Circuit and New Identity menu items

Author: Alex Catarineu, 2019-05-10 13:03:32 +0200
Committer: Georg Koppen, 2019-08-19 09:07:04 +0000
7776454a n
AndroidBug
System addon does not override app-profile addon
Bug 28640
- Try showing the homepage after the Distribution loads
Author: Matthew Finkel, 2018-11-29 23:44:43 +0000
Committer: Georg Koppen, 2019-08-19 09:07:03 +0000
eb7aabf8 n
AndroidBug
System addon does not override app-profile addon
Bug 28640
- Reload distribution preferences on update
Author: Matthew Finkel, 2018-11-29 20:33:14 +0000
Committer: Georg Koppen, 2019-08-19 09:07:01 +0000
fbfbd51a n
AndroidBug
Move TorButton code to the tor browser repository
Bug 25013
: Add torbutton as a tor-browser submodule

Because of the non-restartless nature of Torbutton, it required a two-stage installation process. On mobile, it was a problem, because it was not loading when the user opened the browser for the first time.

Moving it to tor-browser and making it a system extension allows it to load when the user opens the browser for first time.

Additionally, this patch also fixes AndroidBug
Restart Gecko after first-run
Bug 27611
.

Author: Igor Oliveira, 2018-11-13 07:23:52 -0200
Committer: Georg Koppen, 2019-08-19 09:06:58 +0000
24b2f8b8 n
AffectsTailsTorBrowserTeam201905Rcomponent::applications/tor launcherowner::bradepriority::highresolution::fixedseverity::normalstatus::closedtbb-no-uplifttype::defectux-team
Integrate Tor Launcher into tor-browser
Bug 28044
: Integrate Tor Launcher into tor-browser

Build and package Tor Launcher as part of the browser (similar to how pdfjs is handled).

The --disable-tor-launcher build option may be used to omit Tor Launcher.

If a Tor Launcher extension is present in the user's profile, it is removed.

Author: Kathy Brade, 2019-02-26 10:07:17 -0500
Committer: Georg Koppen, 2019-08-19 09:06:56 +0000
82d7f8a8 n
FeatureSecurity
Don't allow third parties to block our own Tor Browser extensions
Bug 14970
: Don't block our unsigned extensions

Mozilla introduced extension signing as a way to make it harder for an attacker to get a malicious add-on running in a user's browser. See: https://blog.mozilla.org/addons/2015/02/10/extension-signing-safer-experience and https://blog.mozilla.org/addons/2016/01/22/add-on-signing-update/ for some background information.

In ESR45 this feature is enabled by default and we exempt both our own extensions and EFF's HTTPS-Everywhere from this requirement.

Author: Georg Koppen, 2017-03-30 10:38:06 +0000
Committer: Georg Koppen, 2019-08-19 09:06:53 +0000
42c98e53 n
Regression tests for component::mixminion-clientowner::nickmpriority::lowresolution::fixedseverity::blockerstatus::closedtype::defectversion::0.0.4
Incorrect node routing with mbox
TB4
: Tor Browser's Firefox preference overrides.

Note: many more functional tests could be made here

Author: Arthur Edelstein, 2014-08-26 16:09:30 -0700
Committer: Georg Koppen, 2019-08-19 09:06:52 +0000
b19c5057 n
Regression tests for MikePerryIteration20110515actualpoints::3component::firefox patch issuesowner::mikeperryparent::2877points::2priority::mediumresolution::fixedseverity::normalstatus::closedtype::defect
Make Permissions-Manager memory-only in TorBrowser
Bug #2950
: Make Permissions Manager memory-only
Author: Arthur Edelstein, 2014-08-28 16:11:42 -0700
Committer: Georg Koppen, 2019-08-19 09:06:49 +0000
106cf068 n
Task
Rebase TBB patches to Firefox 31 and add unit tests
Bug 12620
: TorBrowser regression tests folder
Author: Arthur Edelstein, 2014-08-27 16:25:00 -0700
Committer: Georg Koppen, 2019-08-19 09:06:47 +0000
6165f3d1 n
component::mixminion-clientowner::nickmpriority::lowresolution::fixedseverity::blockerstatus::closedtype::defectversion::0.0.4
Incorrect node routing with mbox
TB4
: Tor Browser's Firefox preference overrides.

This hack directly includes our preference changes in omni.ja.

Apps::Impact::NoneApps::Type::BugBugDesktopRoadmap::FutureUpdaterWindows
staged updates fail on Windows
Bug 18292
: Staged updates fail on Windows

Temporarily disable staged updates on Windows.

BugLinkability
asm.js files should be no linkability risk
Bug 19417
: Disable asmjs for now

BugSecurity Settings
consider blocking remote jar files at Low Security
Bug 20123
: Always block remote jar files

BugFingerprinting
Tor browser uses Chinese-style glyphs to display Japanese
Bug 18297
: Use separate Noto JP,KR,SC,TC fonts

BugFingerprinting
Noto Sans Buginese missing from macOS font whitelist
Bug 23404
: Add Noto Sans Buginese to the macOS whitelist

Bug
Tab crashes when using Tor Browser to access Google Drive
Bug 23745
: Set dom.indexedDB.enabled = true

BugFingerprintingFirst Contribution
Disable randomised Firefox HTTP cache decay user test groups
Bug 13575
: Disable randomised Firefox HTTP cache decay user tests. (Fernando Fernandez Mancera <ffmancera@riseup.net>)

Bug
remove obsolete HTTP pipelining prefs
Bug 26603
: Remove obsolete http pipelining prefs

FeatureLinkabilityPerformance
Confirm TLS session resumption/ID are isolated to the URL bar domain, and re-enable them
Bug 17252
: Enable session identifiers with FPI

Session tickets and session identifiers were isolated by OriginAttributes, so we can re-enable them by allowing the default value (true) of "security.ssl.disable_session_identifiers".

The pref "security.enable_tls_session_tickets" is obsolete (removed in https://bugzilla.mozilla.org/917049)

LinkabilityPerformanceTaskUX
Audit HTTP/2 and SPDY if needed
Bug 14952
: Enable http/2 and AltSvc

In Firefox, SPDY/HTTP2 now uses Origin Attributes for isolation of connections, push streams, origin frames, etc. That means we get first-party isolation provided "privacy.firstparty.isolate" is true. So in this patch, we stop overriding "network.http.spdy.enabled" and "network.http.spdy.enabled.http2".

Alternate Services also use Origin Attributes for isolation. So we stop overriding "network.http.altsvc.enabled" and "network.http.altsvc.oe" as well.

(All 4 of the abovementioned "network.http.*" prefs adopt Firefox 60ESR's default value of true.)

However, we want to disable HTTP/2 push for now, so we set "network.http.spdy.allow-push" to false.

"network.http.spdy.enabled.http2draft" was removed in RESOLVED FIXED(Fx41), [spdy]
remove h2-draft support starting in gecko-40
Bug 1132357
. "network.http.sped.enabled.v2" was removed in VERIFIED FIXED(Fx27)
remove spdy/2 support
Bug 912550
. "network.http.sped.enabled.v3" was removed in RESOLVED FIXED(Fx36), spdy
kill spdy/3
Bug 1097944
. "network.http.sped.enabled.v3-1" was removed in RESOLVED FIXED(Fx51), Blocks: 912549, [necko-active]
remove spdy/3.1 support
Bug 1248197
.

FingerprintingTask
Adapt to upstreamed AddonManager changes
Bug 26114
: addons.mozilla.org is not special

  • Don't expose navigator.mozAddonManager on any site
  • Don't block NoScript from modifying addons.mozilla.org or other sites

Bug
Remove more HTTP pipelining preferences
Bug 27262
: Remove leftover HTTP pipelining preferences The prefs were removed from Firefox in https://bugzilla.mozilla.org/show_bug.cgi?id=1340655

AndroidBugBugSmashFundFingerprinting
In Tor Browser prefs, "dom.network.enabled" should have been "dom.netinfo.enabled"
Bug 27257
: Remove obsolete pref "dom.network.enabled" (The API is disabled under privacy.resistFingerprinting.)

Bug
preferences cleanup
Bug 27268
: Remove references to obsolete prefs. Removed prefs are: browser.usedOnWindows10 browser.selfsupport.enabled browser.selfsupport.url browser.newtabpage.directory.ping browser.newtabpage.directory.source browser.newtabpage.enhanced browser.newtabpage.introShown browser.newtabpage.remote plugin.expose_full_path plugins.hide_infobar_for_missing_plugin plugins.hideMissingPluginsNotification dom.mozTCPSocket.enabled

Enable ReaderView mode again (#27281).

BugProxy Bypass
Group Policies for Firefox can bypass Tor Browser's proxy settings
Bug 29916
: Make sure enterprise policies are disabled

MikePerry201408RMikePerryIterationFires20110529actualpoints::1backport-to-mozillacomponent::firefox patch issuesowner::mikeperrypoints::4priority::mediumresolution::fixedseverity::blockerstatus::closedtbb-no-uplift-60type::enhancement
Block access to Components.interfaces from content script
Bug 2874
: Block Components.interfaces from content

BugBugSmashFundFingerprinting
Setting general.useragent.override does not spoof the platform part anymore in ESR 60 which is confusing
Bug 26146
: Spoof HTTP User-Agent header for desktop platforms

In Tor Browser 8.0, the OS was revealed in both the HTTP User-Agent header and to JavaScript code via navigator.userAgent. To avoid leaking the OS inside each HTTP request (which many web servers log), always use the Windows 7 OS value in the desktop User-Agent header. We continue to allow access to the actual OS via JavaScript, since doing so improves compatibility with web applications such as GitHub and Google Docs.

BugUX
Windows Jump Lists fail for Tor Browser
Bug 12885
: Windows Jump Lists fail for Tor Browser

Jumplist entries are stored in a binary file in: %APPDATA%\Microsoft\Windows\Recent\CustomDestinations
and has a name in the form [a-f0-9]+.customDestinations-ms

The hex at the front is unique per app, and is ultimately derived from something called the 'App User Model ID' (AUMID) via some unknown hashing method. The AUMID is provided as a key when programmatically creating, updating, and deleting a jumplist. The default behaviour in firefox is for the installer to define an AUMID for an app, and save it in the registry so that the jumplist data can be removed by the uninstaller.

However, the Tor Browser does not set this (or any other) regkey during installation, so this codepath fails and the app's AUMID is left undefined. As a result the app's AUMID ends up being defined by windows, but unknowable by Tor Browser. This unknown AUMID is used to create and modify the jumplist, but the delete API requires that we provide the app's AUMID explicitly. Since we don't know what the AUMID is (since the expected regkey where it is normally stored does not exist) jumplist deletion will fail and we will leave behind a mostly empty customDestinations-ms file. The name of the file is derived from the binary path, so an enterprising person could reverse engineer how that hex name is calculated, and generate the name for Tor Browser's default Desktop installation path to determine whether a person had used Tor Browser in the past.

The 'taskbar.grouping.useprofile' option that is enabled by this patch works around this AUMID problem by having firefox.exe create it's own AUMID based on the profile path (rather than looking for a regkey). This way, if a user goes in and enables and disables jumplist entries, the backing store is properly deleted.

Unfortunately, all windows users currently have this file lurking in the above mentioned directory and this patch will not remove it since it was created with an unknown AUMID. However, another patch could be written which goes to that directory and deletes any item containing the 'Tor Browser' string. See Apps::Impact::MinimalApps::Type::BugBugDisk LeakRoadmap::FutureWindows
Tor Browser on Windows creates a file in %APPDATA%\Microsoft\Windows\Recent\CustomDestinations containing the Tor Browser install location
bug 28996
.

Author: Mike Perry, 2013-09-10 18:20:43 -0700
Committer: Georg Koppen, 2019-08-19 09:06:45 +0000
34ce2f72 n
component::mixminion-serverowner::nickmpriority::lowresolution::fixedstatus::closedtype::defectversion::0.0.4rc2
changing PublicKeyLifetime to smaller values isn't good
TB3
: Tor Browser's official .mozconfigs.

Also: MikePerry201312Rcomponent::applications/tor bundles/installationff24-esrowner::erinnparent::10103priority::mediumresolution::fixedstatus::closedtbb-3.0type::defect
Firefox ESR 24 does need a newer compiler than gcc 4.2
Bug #9829
.1: new .mozconfig file for the new cross-compiler and ESR24 Changes needed to build Mac in 64bit component::applications/tor bundles/installationowner::erinnparent::12460priority::mediumresolution::fixedstatus::closedtbb-3.5tbb-usabilitytype::defect
Cross-Compiling WebGL with mingw-w64 is broken
Bug 10715
: Enable Webgl for mingw-w64 again. Disable ICU when cross-compiling; clean-up. Bug
Enable ICU for OS X Tor Browser builds
Bug 15773
: Enable ICU on OS X Task
Get Windows cross-compilation working with Fx38 in Gitian
Bug 15990
: Don't build the sandbox with mingw-w64 Task
Switch to OS X 10.7 SDK in our Tor Browser Mac builds
Bug 12761
: Switch to ESR 38 for OS X Updating .mozconfig-asan FeatureSecurity
Compile Tor Browser with -fwrapv/-fno-strict-overflow
Bug 12516
: Compile hardenend Tor Browser with -fwrapv Task
Update OS X toolchain to work with ESR 45
Bug 18331
: Switch to Mozilla's toolchain for building Tor Browser for OS X BugSecurity
Creating incremental MAR files for the hardened builds is broken
Bug 17858
: Cannot create incremental MARs for hardened builds. Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff (which is part of mar-tools and is not distributed to end-users) with ASan. Task
Fix cross-compiling ICU with mingw-w64 for Windows builds
Bug 13419
: Add back ICU for Windows Bug
Adapt Linux Firefox descriptor for ESR 52
Bug 21239
: Use GTK2 for ESR52 Linux builds Bug
Flags to increase hardening on macOS
Bug 23025
: Add hardening flags for macOS Bug
Enable tests and debug assertions in our ASan builds
Bug 24478
: Enable debug assertions and tests in our ASan builds --enable-proxy-bypass-protection Bug
ASan build option in tor-browser-build is broken
Bug 27597
: ASan build option in tor-browser-build is broken

Bug
wrong default pref values in Tor Browser 8.0
Bug 27623
- Export MOZILLA_OFFICIAL during desktop builds

This fixes a problem where some preferences had the wrong default value. Also see AndroidFeature
TBA: Add export MOZILLA_OFFICIAL
bug 27472
where we made a similar fix for Android.

Author: Mike Perry, 2013-05-06 15:51:06 -0700
Committer: Georg Koppen, 2019-08-19 09:06:43 +0000
Generated at: 2025-04-28 08:32 UTC