68.3.0-9.5-1

Base commit: 637f4ca8

Branches:
Uplift Bug Tags Commit build Description
B T M
  • NEW, Blocks: 1958496, 1407366, [tor 32220]
    Change the letterboxing background to match the theme, and reposition the content
    Bug 1594455
u be2acaba 1
BugUX
Change letterboxing color when dark theme is enabled
Bug 32220
: Improve the letterboxing experience

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.

Author: Richard Pospesel, 2019-10-28 17:42:17 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:45 +0000
  • NEW, Blocks: 1674565, [tor 27604]
    After restoring profile to a different location, paths in extensions.json are incorrect
    Bug 1429838
u 351cce20 1
Bug
Relocating the Tor Browser directory is broken with Tor Browser 8
Bug 27604
: Fix addon issues when moving TB directory
Author: Alex Catarineu, 2019-10-30 10:44:48 +0100
Committer: Matthew Finkel, 2019-11-29 23:28:43 +0000
  • UNCONFIRMED, Blocks: 1958496, [fingerprinting] [gfx-noted] [fp-triaged] [tor 30541]
    Apply Resist Fingerprinting Protection to WebGL's readPixels method
    Bug 1428034
u bce56db9 1
BugFingerprinting
webgl readPixels FP entropy
Bug 30541
: Disable WebGL readPixel() for web content
Author: Georg Koppen, 2019-05-29 12:29:19 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:55 +0000
u 387a1671 1
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: Matthew Finkel, 2019-11-29 23:23:54 +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 42efad2f 1
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: Matthew Finkel, 2019-11-29 23:23:51 +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 6ef15574 1
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: Matthew Finkel, 2019-11-29 23:23:51 +0000
  • NEW, [tor 16439]
    add flag to drop screensharing from build
    Bug 1432684
u a7825c85 1
Bug
remove screencasting code
Bug 16439
: Remove screencasting code

We avoid including the screencasting code on mobile (it got ripped out for desktop in RESOLVED FIXED(Fx57), Blocks: 1360406
Remove CastingApps support
bug 1393582
) by simply excluding the related JS modules from Tor Browser.

Author: Kathy Brade, 2015-06-24 11:01:11 -0400
Committer: Matthew Finkel, 2019-11-29 23:23:38 +0000
d451851c n
Merge remote-tracking branch 'gk/Feature
Reenable Graphite for font rendering
bug_31134
' into tor-browser-68.3.0esr-9.5-1
Author: Matthew Finkel, 2019-12-19 21:56:31 +0000
Committer: Matthew Finkel, 2019-12-19 21:56:31 +0000
4fc2f6a5 n
fixup! Pick up latest Torbutton code Author: Matthew Finkel, 2019-12-19 21:56:13 +0000
Committer: Matthew Finkel, 2019-12-19 21:56:13 +0000
70b3b7e5 1
fixup! Pick up latest Torbutton code Author: Matthew Finkel, 2019-11-30 20:24:20 +0000
Committer: Matthew Finkel, 2019-11-30 20:24:20 +0000
54f38b28 1
fixup! Pick up latest Torbutton code Author: Matthew Finkel, 2019-11-30 00:49:48 +0000
Committer: Matthew Finkel, 2019-11-30 00:49:48 +0000
c20690ef 1
Pick up latest Torbutton code Author: Georg Koppen, 2019-08-28 21:35:04 +0000
Committer: Matthew Finkel, 2019-11-29 23:23:37 +0000
4b45c970 n
fixup! component::mixminion-clientowner::nickmpriority::lowresolution::fixedseverity::blockerstatus::closedtype::defectversion::0.0.4
Incorrect node routing with mbox
TB4
: Tor Browser's Firefox preference overrides.

Fixes Feature
Reenable Graphite for font rendering
bug 31134
.

Author: Georg Koppen, 2019-12-16 19:55:20 +0000
Committer: Georg Koppen, 2019-12-16 19:55:36 +0000
8d9dfae9 1
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.

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>)

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

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
.

Bug
Communication with noscript for security settings not working in nightlies
Bug 31396
: Disable indexedDB WebExtension storage backend.

Bug
Make sure default Firefox themes are enabled on ESR68
Bug 30845
: Make sure default themes and other internal extensions are enabled

Task
Make sure our bundled WebExtensions are running in Private Browsing Mode
Bug 28896
: Enable extensions in private browsing by default

BugBugSmashFund
Set network.proxy.allow_hijacking_localhost to true
Bug 31065
: Explicitly allow proxying localhost

Bug
Properly enable letterboxing (again)
Bug 31598
: Enable letterboxing

Disable Presentation API everywhere

squash! component::mixminion-clientowner::nickmpriority::lowresolution::fixedseverity::blockerstatus::closedtype::defectversion::0.0.4
Incorrect node routing with mbox
TB4
: Tor Browser's Firefox preference overrides.

BugSmashFundTask
Investigate wasm for linkability/fingerprintability/disk avoidance issues
Bug 21549
- Use Firefox's WASM default pref. It is disabled at safer security levels.

squash! component::mixminion-clientowner::nickmpriority::lowresolution::fixedseverity::blockerstatus::closedtype::defectversion::0.0.4
Incorrect node routing with mbox
TB4
: Tor Browser's Firefox preference overrides.

BugLinkability
https://mitmdetection.services.mozilla.com/ is contacted over catch-all circuit
Bug 32321
: Disable Mozilla's MitM pings

Author: Mike Perry, 2013-09-10 18:20:43 -0700
Committer: Matthew Finkel, 2019-11-29 23:22:06 +0000
cb3038cf n
fixup! 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.
Author: Richard Pospesel, 2019-12-09 16:55:21 -0800
Committer: Richard Pospesel, 2019-12-09 16:55:21 -0800
92f76f10 1
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.

BugSmashFundTask
Make sure telemetry reporting is disabled in Tor Browser 9
Bug 30463
: Explicitly disable MOZ_TELEMETRY_REPORTING

BugBugSmashFund
Still use GCC for 64bit Linux debug builds after switch to 68 ESR
Bug 31450
: Set proper BINDGEN_CFLAGS for ASan builds

Author: Mike Perry, 2013-05-06 15:51:06 -0700
Committer: Matthew Finkel, 2019-11-29 15:37:20 +0000
c 94363e6f 1
VERIFIED FIXED(Fx72), devrel-note, webext?
Temporarily allow node adoption across different docGroups for the content/content case of WebExtensions
Bug 1590526
- Temporarily allow node adoption across different docGroups for the content/content case r=smaug,zombie a=pascalc

As web extensions rely on this node adoption between content to content documents, we want to continue allowing this capability to work for now.

Differential Revision: https://phabricator.services.mozilla.com/D50348

--HG-- extra : source : 78c33df33145bd63cd303264734d0b7d85151908 extra : histedit_source : 280627c1dba1ad7b8d82f5a315b5c2170bf3167b

Author: Sean Feng, 2019-10-24 20:56:43 +0000
Committer: Matthew Finkel, 2019-11-30 00:41:39 +0000
c 1dc18678 1
RESOLVED FIXED(Fx71), [post-critsmash-triage], devrel-note, webext? [adv-main71-]
Forbid node adoption across the chrome/content boundary
Bug 1467970
- Unsupport cross docGroup adoption r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D43135

--HG-- extra : moz-landing-system : lando

Author: Sean Feng, 2019-09-14 00:09:44 +0000
Committer: Matthew Finkel, 2019-11-30 00:41:39 +0000
eb11dea8 1
Bug
Crash immediately after bootstrap on Android
Bug #32405
: Crash immediately after bootstrap on Android
Author: sisbell, 2019-11-27 21:08:02 -0800
Committer: Matthew Finkel, 2019-11-30 00:41:38 +0000
  • RESOLVED FIXED, [tor 4234]
    Add -q option to MAR generation scripts
    Bug 1641329
e79b664a 1
squash! SecurityTaskUX
Deploy experimental builds using the Firefox update process
Bug 4234
: Use the Firefox Update Process for Tor Browser.

Also fix 32616: Disable GetSecureOutputDirectoryPath() functionality.

Author: Kathy Brade, 2019-11-26 15:12:59 -0500
Committer: Matthew Finkel, 2019-11-29 23:32:10 +0000
4a54ffbc 1
SecurityTaskUX
Deploy experimental builds using the Firefox update process
Bug 4234
: Use the Firefox Update Process for Tor Browser.

New configure options: --with-tor-browser-version=VERSION # Pass TB version throughout build (required). --enable-tor-browser-update # Enable bundle update behavior (optional). The following files are never updated: TorBrowser/Data/Browser/profiles.ini TorBrowser/Data/Browser/profile.default/bookmarks.html TorBrowser/Data/Tor/torrc Mac OS: Store update metadata under TorBrowser/UpdateInfo. Removed the %OS_VERSION% component from the update URL (13047) and added support for minSupportedOSVersion, an attribute of the <update> element that may be used to trigger Firefox's "unsupported platform" behavior. Hide the "What's new" links (removed app.releaseNotesURL preference value). Windows: disable "runas" code path in updater (15201). Windows: avoid writing to the registry (16236). Also includes fixes for tickets 13047, 13301, 13356, 13594, 15406, 16014, 16909, 24476, and 25909.

Also fix Bug
consider reducing the delay before the update prompt is displayed (ESR60)
Bug 26049
: reduce the delay before the update prompt is displayed. Instead of Firefox's 2 days, we use 1 hour (after which time the update doorhanger will be displayed).

Also fix Bug
Tor Browser 8.0a10 wants to update to 8.0a10
bug 27221
: purge the startup cache if the Tor Browser version changed (even if the Firefox version and build ID did not change), e.g., after a minor Tor Browser update.

Also fix 27828: "Check for Tor Browser update" doesn't seem to do anything.

Author: Kathy Brade, 2017-01-13 11:40:24 -0500
Committer: Matthew Finkel, 2019-11-29 23:23:46 +0000
c 9141d677 1
VERIFIED FIXED(Fx71), Blocks: 1299996, [tor]
feed reader WX (Brief) not working with FPI enabled
Bug 1554805
- Never set firstPartyDomain on origin attributes for moz-extension. r=rpl,Ehsan,tjr

Differential Revision: https://phabricator.services.mozilla.com/D47425

--HG-- extra : moz-landing-system : lando

Author: Johann Hofmann, 2019-10-06 15:43:39 +0000
Committer: Matthew Finkel, 2019-11-29 23:32:10 +0000
c 2832cd8d 1
RESOLVED FIXED(Fx72), [tor 32255][domsecurity-active]
Set Origin to null with network.http.referer.hideOnionSource
Bug 1598647
- Set Origin to null with network.http.referer.hideOnionSource r=JuniorHsu

Differential Revision: https://phabricator.services.mozilla.com/D54303

--HG-- extra : moz-landing-system : lando

Author: Alex Catarineu, 2019-11-25 13:29:47 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:45 +0000
  • VERIFIED FIXED(Fx72), [tor 31573]
    BrowserGlue.jsm triggeres console log of Unhandled NS_ERROR_NOT_AVAILABLE (0x80040111, 2147746065) exception thrown from PushService lazy getter during "sessionstore-windows-restored" observer notification when dom.push.enabled == false
    Bug 1591259
f b5af0353 1
BugRoadmap::Future
Uncaught exception in SessionStore.jsm with Tor Browser based on ESR 68
Bug 31573
: Catch SessionStore.jsm exception

This is a backport of the fix for Mozilla's VERIFIED FIXED(Fx72), [tor 31573]
BrowserGlue.jsm triggeres console log of Unhandled NS_ERROR_NOT_AVAILABLE (0x80040111, 2147746065) exception thrown from PushService lazy getter during "sessionstore-windows-restored" observer notification when dom.push.enabled == false
bug 1591259
.

Author: Georg Koppen, 2019-11-07 14:27:14 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:45 +0000
c 6079b4ed 1
RESOLVED FIXED(Fx72), Blocks: 1329996, [tor 30683][fingerprinting]
Browser UI locale is leaked in several ways
Bug 1581537
- Avoid several browser language leaks r=smaug

Spoof dom/dom.properties, layout/xmlparser.properties, layout/MediaDocument.properties to en-US if needed.

Differential Revision: https://phabricator.services.mozilla.com/D46034

--HG-- extra : moz-landing-system : lando

Author: Alex Catarineu, 2019-11-04 16:56:27 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:44 +0000
c 2a022fcd 1
RESOLVED FIXED(Fx69)
Off-by-one-pixel error in findbar/devtools letterboxing patch
Bug 1556017
- Fixing the off-by-one-pixel issue of find bar and devtool iframe for Letterboxing. r=johannh

This patch fixes the off-by-one-pixel issue of Letterboxing. For FindBar, it will be created when the user requests it and will be hidden if the user close it after that. The problem of the original approach is that it only observes the existance of the FindBar element but not the fact that whether or not it is visible. So, it will miscalculate the offset of FindBar after it has been created and closed.

For devtools, the original approach adds one pixel offset for the separator. However, this one pixel offset is not required since there is no extra separator outside the devtools iframe. So, we don't need that and this patch removes this one pixel for the devtools.

Differential Revision: https://phabricator.services.mozilla.com/D34156

--HG-- extra : moz-landing-system : lando

Author: Tim Huang, 2019-06-11 08:53:44 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:44 +0000
c b371c0ef 1
RESOLVED FIXED(Fx69), Blocks: 1556017
Opening/Resizing developer tools causes incorrect content letterboxing
Bug 1546832
- Adjust letterboxing to take the FindBar and Devtools into account r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D31639

--HG-- extra : moz-landing-system : lando

Author: Tom Ritter, 2019-05-24 07:53:11 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:44 +0000
c ffcff776 1
RESOLVED FIXED(Fx73), Blocks: 1534350, 1470156, [tor][domsecurity-active]
OriginAttributes.firstPartyDomain does not support IPv6 addresses
Bug 1534339
- make OriginAttributes deserializable; r=baku

CreateSuffix is irreversible by PopulateFromSuffix because it uses a multi-to-one mapping. Since only ':' will happen in a IPv6 format, we can make it a 1-to-1 mapping so that the firstPartyDomain is consistent after CreateSuffix and PopulateFromSuffix.

Differential Revision: https://phabricator.services.mozilla.com/D47910

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-10-23 14:10:19 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:43 +0000
d2385736 1
BugSecurity Settings
The "Security Level" text is hard to read in dark mode
Bug 31658
: Changed the 'SECURITY LEVEL' text color to builtin --panel-disabled-color
Author: Richard Pospesel, 2019-10-23 14:48:27 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:43 +0000
e6db3b27 1
Bug
Missing string in TorStrings.jsm is showing an error in browser console
Bug 32188
: Change useLocalProxy string to tor-launcher's torsettings.useProxy.checkbox in TorStrings.jsm
Author: Richard Pospesel, 2019-10-22 15:00:02 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:42 +0000
  • RESOLVED FIXED(Fx72), [tor 31764]
    Copying a link and using "Paste & Go" results in error when HTTPS Everywhere add-on is installed
    Bug 1590538
f 8221433f 1
Bug
Copying a link and using "Paste & Go" results in error
Bug 31764
: Fix for error when navigating via 'Paste and go'

The onURLBarUserStartNavigation callback expects an object from the UrlBarInput with information about how a URL was navigated to. This specifically helps to deal with the various buttons and links in the UrlBar dropdown (search engines, bookmarks, suggestions, etc).

However, when using 'Paste and go' this data is not present nor relevant and an empty object {} is provided instead. This also happens if the user types the 'verbose url' (for example: https://www.example.com rather than www.example.com), navigates away from the urlbar thus dismissing the dropdown, then navigating back to the urlbar and hitting enter.

Pasting the less 'verbose url' causes the code to go down another path which attempts to resolve the actual url before attempting to call _loadURL with a null result object, rather than an empty {} result object. In this scenario no exception is thrown.

This patch explicitly passes null rather than implicitly passing {} to _loadURL when a resolved 'verbose' url is entered into the UrlBar via 'Paste and go' (as well as the previously described type -> dismiss popup -> enter flow).

Author: Richard Pospesel, 2019-10-21 17:02:31 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:42 +0000
6621e0be 1
BugUX
branding for about:debugging needs logo SVG
Bug 31803
: Replaced about:debugging logo with flat version
Author: Richard Pospesel, 2019-10-21 14:23:59 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:42 +0000
c b0d825df 1
RESOLVED FIXED(Fx71), Blocks: 1585347, 1589741
Investigate Bug 1460357 and see if it can be backed out
Bug 1585351
- RESOLVED FIXED(Fx62), Blocks: 1434316
Disable AVX-Optimized Skia Code for MinGW Build
Bug 1460357
disabled AVX instructions for the mingw build; this is no longer needed r=lsalzman

RESOLVED FIXED(Fx62), Blocks: 1434316
Disable AVX-Optimized Skia Code for MinGW Build
Bug 1460357
disabled AVX because gcc was generating unaligned instructions. But clang doesn't seem to do that.

Differential Revision: https://phabricator.services.mozilla.com/D48072

--HG-- extra : moz-landing-system : lando

Author: Tom Ritter, 2019-10-03 21:02:16 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:41 +0000
83118980 1
AndroidBugPlatform ParityProxy Bypass
TBA - Notify user about possible proxy-bypass before opening external app
Bug 26529
- Prompt before opening external app
Author: Matthew Finkel, 2019-10-12 00:45:36 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:41 +0000
9ce9f6a5 1
Proxy BypassTask
ESR68 Network Code Review
Bug 31144
- Do not switching apps from CustomTabs without consent
Author: Matthew Finkel, 2019-10-18 00:57:00 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:41 +0000
72a372cb 1
Bug
Review RemoteSettings usages in esr68
Bug 31740
: Remove some unnecessary RemoteSettings instances

More concretely, SearchService.jsm 'hijack-blocklists' and url-classifier-skip-urls.

Author: Alex Catarineu, 2019-10-16 23:01:12 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:40 +0000
51220443 1
Bug
Adding your own custom bridges generates a parsing error
Bug 32111
: Fixed issue parsing user-provided brige strings

Fixed parseBridgeStrings function in parseFunctions.jsm to now discard 'bridge' string prefix in user-provided bridge strings. Also now properly handling carriage returns ('\r') in bridge strings.

Author: Richard Pospesel, 2019-10-16 14:37:27 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:40 +0000
d548bc0e 1
BugSecurity Settings
Security level popup should not open with middle or right click
Bug 31749
: Fix security level panel spawning events

Fixed logic for when the Security Level panel is spawned based on input to mirror behavior of Downloads, Library and Hamburger menus. The panel now spawns on left-mouse button down, and on keyboard activation when user presses 'space' or 'enter'.

Author: Richard Pospesel, 2019-10-16 15:35:33 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:40 +0000
a9f77f2e 1
Bug
Resizing TorBrowser 9.0a7 to its smallest size and back causes the shield button to stop working
Bug 31920
: Fix Security Level panel when its toolbar button moves to overflow

Simply removed the 'clever' caching of the underlying toolbar button element. Now, each time the button is needed it is queried from the underlying document.

A correct, but more complicated, fix would be to determine when the toolbar button had been moved to the overflow menu and then update our cached reference. However, this would be super brittle and would break once another way to move the toolbar button is added in the future.

In the end, caching something so infrequently queried is not worth the complexity.

Author: Richard Pospesel, 2019-10-16 15:06:54 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:39 +0000
dfe4a39b 1
Bug
"Learn More" link in Security Level popup is not working
Bug 31748
: Fixed 'Learn More' links in Security Level preferences and panel

With ESR68 we needed to add a new is="text-link" attribute to label elements used as hyperlinks

Author: Richard Pospesel, 2019-10-16 15:52:51 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:39 +0000
622e99e9 1
BugUX
Tor Browser Support should link to our support portal
Bug 32092
: Fix Tor Browser Support link in preferences
Author: Alex Catarineu, 2019-10-15 22:54:10 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:39 +0000
55fdbbee 1
BugSmashFundTaskUX
Include bridge configuration into about:preferences
Bug 31286
: Implementation of bridge, proxy, and firewall settings in about:preferences#tor

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

In addition the following changes have been made:

  • The Networking Settings in General preferences has been removed
  • TorStrings has been removed from the SecurityLevel component and moved into a common shared module also used by about:preferences#tor
Author: Richard Pospesel, 2019-09-16 15:25:39 -0700
Committer: Matthew Finkel, 2019-11-29 23:28:38 +0000
  • RESOLVED FIXED(Fx82), Blocks: 1329996, [tor 13543][fingerprinting][fp-triaged]
    Support Resist Fingerprinting in canPlayType and Media Capabilities APIs
    Bug 1461454
f b85ea926 1
All PlatformsBugFingerprintingRoadmap::Future
HTML5 media support may lead to fingerprinting
Bug 13543
: Spoof smooth and powerEfficient for Media Capabilities
Author: Alex Catarineu, 2019-10-10 15:08:12 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:38 +0000
  • RESOLVED FIXED(Fx97), [tor 31607]
    hidden window churn causes app menu to stop working
    Bug 1586061
f 056ee46d 1
BugBugSmashFund
App menu items stop working
Bug 31607
: App menu items stop working on macOS

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.

Author: Kathy Brade, 2019-10-03 10:53:43 -0400
Committer: Matthew Finkel, 2019-11-29 23:28:38 +0000
bbc6b646 1
BugUX
Introduce Tor network settings and other updates in TB9 onboarding
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.

Author: Kathy Brade, 2019-10-09 16:54:54 -0400
Committer: Matthew Finkel, 2019-11-29 23:28:37 +0000
0ab18f22 1
Feature
Provide stack smashing protection for mingw-clang builds
Bug 29013
: Enable stack protection for Firefox on Windows
Author: Georg Koppen, 2019-10-01 07:46:13 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:37 +0000
bfb029bb 1
FeatureNew IdentityUX
Add New identity button to toolbar
Bug 27511
: Add new identity button to toolbar

Also added 'New circuit for this site' button to CustomizableUI, but not visible by default.

Author: Alex Catarineu, 2019-10-04 19:08:33 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:37 +0000
fa3ebbe3 1
Bug
TB9.0a7 is asking for a new profile
Bug 31935
: Disable profile downgrade protection.

Since Tor Browser does not support more than one profile, disable the prompt and associated code that offers to create one when a version downgrade situation is detected.

Author: Kathy Brade, 2019-10-03 15:27:00 -0400
Committer: Matthew Finkel, 2019-11-29 23:28:36 +0000
  • RESOLVED FIXED(Fx72), [tor 31955]
    TypeError: document.getElementById(...) is null in permanent private browsing mode
    Bug 1588515
f dbef0910 1
Bug
macOS: avoid throwing inside nonBrowserWindowStartup()
Bug 31955
: On macOS avoid throwing inside nonBrowserWindowStartup()

Inside nonBrowserWindowStartup(), do not assume that XUL elements that are only part of the Mac hidden window are available in all non-browser windows.

Author: Kathy Brade, 2019-10-03 10:05:33 -0400
Committer: Matthew Finkel, 2019-11-29 23:28:36 +0000
a45f6acc 1
Bug
about:preferences#general is not properly translated anymore starting with Tor Browser 8.5a4
Bug 28196
: preparations for using torbutton tor-browser-brand.ftl

A small change to Fluent FileSource class is required so that we can register a new source without its supported locales being counted as available locales for the browser.

Author: Alex Catarineu, 2019-09-25 23:23:30 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:36 +0000
c 64f06564 1
RESOLVED FIXED(Fx71), Blocks: 1577134, [rca - Coding Error]
Certificate and network errors in sandboxed iframes completely broken (show XML Parsing Error)
Bug 1573276
- Always allow localization in error pages r=johannh,peterv

Differential Revision: https://phabricator.services.mozilla.com/D43216

--HG-- extra : moz-landing-system : lando

Author: Alex Catarineu, 2019-09-25 10:39:45 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:35 +0000
6db4438e 1
AndroidBug
Address bar auto-complete is broken on Android
Bug 31720
: Enable website suggestions in address bar
Author: Matthew Finkel, 2019-09-18 18:32:24 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:35 +0000
4ace8efb 1
Bug
Firefox is phoning home during start-up in Tor Browser based on ESR 68
Bug 31575
: Replace Firefox Home (newtab) with about:tor

Patching AboutNewTabService so that AboutNewTab is not loaded 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.

Author: Alex Catarineu, 2019-09-09 13:04:34 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:34 +0000
6c94a64b 1
TorBrowserTeam201909Ractualpoints::1component::applications/tor launcherff68-esrmeekowner::mcsparent::29430points::4priority::mediumresolution::fixedseverity::normalstatus::closedtbb-9.0-must-alphatype::defectutls
clean up the old meek http helper browser profiles
Bug 31491
: clean up the old meek http helper browser profiles

On Linux and Windows, arrange for the updater to remove the old meek and moat http helper profiles by adding appropriate directives to browser/installer/removed-files.in (on macOS, the cleanup will be done by Tor Launcher).

Author: Kathy Brade, 2019-09-19 14:59:45 -0400
Committer: Matthew Finkel, 2019-11-29 23:28:34 +0000
c 9e0807a3 1
VERIFIED FIXED(Fx69)
google calendar loses notification permission every time it's loaded
Bug 1557729
- Use principal for permission post prompts instead of URI. r=xeonchen

Differential Revision: https://phabricator.services.mozilla.com/D35033

--HG-- extra : moz-landing-system : lando

Author: Johann Hofmann, 2019-06-14 15:49:25 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:34 +0000
c c8a6ec2e 1
VERIFIED FIXED(Fx70)
Tracking protection doorhanger's Enable/Disable states don't work
Bug 1568521
Tracking protection doorhanger's Enable/Disable states don't work r=VladBaicu

Now using lastURI instead of principal and now we are using the right functions in order to test permissions.

Differential Revision: https://phabricator.services.mozilla.com/D39190

--HG-- extra : moz-landing-system : lando

Author: Andrei Lazar, 2019-07-24 16:00:32 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:33 +0000
c d395a11a 1
RESOLVED FIXED(Fx70), Blocks: 1329996, 1873201, [sg:low][fingerprinting][fp-triaged][tor 30304][adv-main70-]
<!DOCTYPE> ignores contentaccessible, leaks DTD strings and therefore browser UI locale
Bug 467035
- Avoid leaking browser language via DTD r=Gijs,bzbarsky

Differential Revision: https://phabricator.services.mozilla.com/D34187

--HG-- extra : moz-landing-system : lando

Author: Alex Catarineu, 2019-07-08 10:47:05 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:33 +0000
40f51fa6 1
RESOLVED FIXED(Fx70), Blocks: 1329996, 1873201, [sg:low][fingerprinting][fp-triaged][tor 30304][adv-main70-]
<!DOCTYPE> ignores contentaccessible, leaks DTD strings and therefore browser UI locale
Bug 467035
- Add new internal DTD content types r=ckerschb

Differential Revision: https://phabricator.services.mozilla.com/D35232

--HG-- extra : moz-landing-system : lando

Author: Alex Catarineu, 2019-07-03 17:28:25 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:33 +0000
8249f34a 1
BugBugSmashFund
Disable tracking protection UI in FF67-esr
Bug 26345
: Hide tracking protection UI
Author: Alex Catarineu, 2019-09-10 16:29:31 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:32 +0000
bc6a1243 1
AndroidFeaturePlatform ParitySecurity Settings
Apply security slider improvements made on desktop back to mobile
Bug 24653
: merge securityLevel.properties into torbutton.dtd
Author: Alex Catarineu, 2019-08-13 11:57:22 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:32 +0000
fa06744b 1
BugBugSmashFund
disable per-installation profiles
Bug 31457
: disable per-installation profiles

The dedicated profiles (per-installation) feature does not interact well with our bundled profiles on Linux and Windows, and it also causes multiple profiles to be created on macOS under TorBrowser-Data.

Author: Kathy Brade, 2019-09-04 08:23:19 -0400
Committer: Matthew Finkel, 2019-11-29 23:28:32 +0000
19f7958d 1
Revert "RESOLVED FIXED(Fx64), Blocks: 1462415
Actually remove the old onboarding add-on's prefs
Bug 1498378
- Actually remove the old onboarding add-on's prefs r=Gijs"

This reverts commit 057fe36fc6f3e93e265505c7dcc703a0941778e2.

Author: Alex Catarineu, 2019-09-02 12:48:36 +0200
Committer: Matthew Finkel, 2019-11-29 23:28:31 +0000
c c2d82d38 1
RESOLVED FIXED(Fx70), Blocks: 1329996, [fingerprinting][tor 30800] [necko-triaged]
ftp:// on Windows can be used to leak the system time zone (Tor 30800)
Bug 1560574
- use FormatPRExplodedTime to display GMT; r=kershaw

Differential Revision: https://phabricator.services.mozilla.com/D36502

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-08-20 14:00:31 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:31 +0000
47c4fd57 1
Revert "VERIFIED FIXED(Fx70), [post-critsmash-triage][adv-main69+][adv-esr68.1+][adv-esr60.9+]
Privilege Escalation via Mozilla Maintenance Service if Firefox is Installed to a Writable Location
Bug 1574980
- Fix issues with maintenance service install. r=bytesized a=jcristau"

We don't use the maintenance service and don't want to have parts of it now included in our updater code. This commit fixes TaskUpdater
Back out or modify patches for Mozilla's bug 1574980
bug 31547
for esr68.

Author: Georg Koppen, 2019-09-02 07:22:17 +0000
Committer: Matthew Finkel, 2019-11-29 23:28:31 +0000
e7fd1360 1
Load torbutton in BrowserApp.startup on Android Author: Matthew Finkel, 2019-08-30 10:17:25 -0400
Committer: Matthew Finkel, 2019-11-29 23:28:28 +0000
2040e840 1
AndroidBugPlatform ParityRoadmap::Future
TBA: open with Tor Browser does not work if Tor Browser is not open already
Bug 30573
- Sanitize old tabs and wait for tor before opening new tabs
Author: Matthew Finkel, 2019-05-29 14:05:07 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:16 +0000
0dd70873 1
AndroidPlatform ParityTask
Remove ln5's bridges on mobile
Bug 31058
: Remove Linus' default bridges

There are no default obfs3 bridges remaining after Linus' ones are gone. Remove the UI and localization.

Author: Georg Koppen, 2019-07-02 07:57:08 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:16 +0000
9fc434eb 1
AndroidFeatureUX
TBA has tabs and private tabs, we only want private tabs
Bug 24920
- Only create Private tabs if browser.privatebrowsing.autostart is true
Author: Matthew Finkel, 2019-05-27 15:55:33 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:15 +0000
3a209360 1
Continue using non-adaptive icons and don't allow clear-text traffic Author: Matthew Finkel, 2019-07-22 13:41:22 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:15 +0000
356cf41b 1
AndroidBug
Playing videos on Twitter is not working and freezing the mobile browser
Bug 29859
: Disable HLS support for now
Author: Georg Koppen, 2019-03-28 19:10:34 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:15 +0000
57c8377f 1
AndroidBug
TBA: Prevent crash following upgrade
Bug 29238
- Prevent crash on Android after update
Author: Matthew Finkel, 2019-03-22 16:24:09 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:14 +0000
ee3343d2 1
AndroidFeature
TBA: Port padlock states for .onion services to mobile
Bug 26690
: Port padlock states for .onion services to mobile

Prior to this patch, TBA was showing onion services as insecure connection and SSL/TLS ones as encrypted connections(lock icon).

This patch fixes the issue adding several new onion icons to indicate all the various permutations of onions services hosted HTTP or HTTPS pages.

Author: Igor Oliveira, 2018-10-29 12:30:14 -0200
Committer: Matthew Finkel, 2019-11-29 23:25:14 +0000
5240557e 1
AndroidFeatureUX
Design TBA+Orbot configuration UI/UX
Bug 28329
- Part 4. Add new Tor Bootstrapping and configuration screens

Also: AndroidBug
TBA - NPE in ChangeOnionAlphaRunnable
Bug 30214
- Kill background thread when Activity is null AndroidBug
TBA: Gracefully handle auto-restart after crash
Bug 30239
- Render Fragments after crash AndroidBugUX
Clicking on cog/gear icon crashes Tor Browser for Android
Bug 29982
- Force single-pane UI on Tor Preferences

Author: Matthew Finkel, 2019-03-14 02:03:26 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:14 +0000
79e03b75 1
AndroidFeatureUX
Design TBA+Orbot configuration UI/UX
Bug 28329
- Part 1. Add new Tor resources
Author: Matthew Finkel, 2019-02-19 22:45:46 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:13 +0000
18a3d54e 1
AndroidFeature
Build Orbot into TBA
Bug 28051
- Integrate Orbot and add dependencies

Also: AndroidFeature
Build Orbot into TBA
Bug 28051
- Launch Orbot if it isn't running in the background

AndroidFeatureUX
Design TBA+Orbot configuration UI/UX
Bug 28329
- Part 2. Implement checking if the Tor service is running

AndroidFeatureUX
Design TBA+Orbot configuration UI/UX
Bug 28329
- Part 3. Remove OrbotActivity dependency

AndroidFeature
Build Orbot into TBA
Bug 28051
- Stop the background service when we're quitting

If the user swips away the app, then initiate quitting as if the user selected Quit from the menu.

Author: Matthew Finkel, 2018-11-14 17:36:53 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:13 +0000
42740a5a 1
AndroidBugProxy Bypass
Don't let Android leak DNS queries
Bug 28125
- Prevent non-Necko network connections
Author: Matthew Finkel, 2018-10-25 19:17:09 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:13 +0000
8c3cf75c 1
AndroidBugUX
Design of alpha onboarding for Tor Browser for Android
Bug 25696
- Implement alpha onboarding for Tor Browser for Android
  • FirstrunTorPagerConfig.java: Create file that sets up all the views in the pager.

  • FirstrunPager.java: Update code to use the FirstrunTorPagerConfig.

  • FirstrunLastPanel.java: Create view that adds a close handler in the latest pager view.

Also: AndroidBugUX
Design of alpha onboarding for Tor Browser for Android
Bug 25696
- Design of alpha onboarding for Tor Browser for Android TorBrowserTeam201812Rcomponent::community/translationsowner::tbb-teamparent::26782priority::mediumresolution::fixedseverity::normalstatus::closedtbb-localizationtype::defect
Remove superfluous strings on tba-android_stringsdtd branch
Bug 27125
- Move localized Tor Browser for Android strings into separate file

Author: Igor Oliveira, 2018-08-06 00:12:26 -0300
Committer: Matthew Finkel, 2019-11-29 23:25:12 +0000
0171955e 1
AndroidBug
Disable third-party tracking frameworks Adjust and Leanplum in mobile Tor Browser
Bug 25906
- Imply false both Adjust and Leanplum configure options

These configure options should be false already, because we set |--without-google-play-services| in .mozconfig-android. But, this is another layer of certainty.

Author: Matthew Finkel, 2018-08-03 18:32:46 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:12 +0000
cd1e1573 1
AndroidBugProxy Bypass
TBA: Audit thirdparty picasso
Bug 27016
- Create proxy connection during image download

Picasso, the image retrieval library used by Fennec, ignores the network proxy configuration. We override the openConnection() method and create the connection using the configured proxy.

Author: Matthew Finkel, 2018-08-02 21:49:05 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:12 +0000
96443eeb 1
AndroidTask
App stores should not be allowed to use UpdateService
Bug 26528
- Don't allow Fennec to use UpdateService when installed through the app store

App stores such as Google Play or F-Droid have their own update service.

The Fennec UpdateService should be used just when the user installs it by themselves.

Author: Igor Oliveira, 2018-06-27 12:12:22 -0300
Committer: Matthew Finkel, 2019-11-29 23:25:11 +0000
d4d674d7 1
Orfox: hook up default panic trigger to "quit and clear"

Signed-off-by: Amogh Pradeep <amoghbl1@gmail.com>

Also: AndroidBugDisk Leak
TBA: Set privacy preferences
Bug 28507
: Implement fallback to delete private data in the browser startup

When the TBA is forcefully closed, its private data is not deleted, even if the history.clear_on_exit is set.

As fallback, this patch calls the Sanitize:ClearData event in the browser startup to clean the private data if needed.

Author: Hans-Christoph Steiner, 2015-11-21 00:24:09 +0100
Committer: Matthew Finkel, 2019-11-29 23:25:11 +0000
c9e04bcf 1
Orfox: quit button added

Signed-off-by: Amogh Pradeep <amoghbl1@gmail.com>

Author: Amogh Pradeep, 2015-07-17 17:01:09 -0400
Committer: Matthew Finkel, 2019-11-29 23:25:11 +0000
48242916 1
Orfox: disable screenshots and prevent page from being in "recent apps"

Signed-off-by: Amogh Pradeep <amoghbl1@gmail.com>

Author: Hans-Christoph Steiner, 2015-11-21 00:10:06 +0100
Committer: Matthew Finkel, 2019-11-29 23:25:10 +0000
04bd7e0e 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Disable GeckoNetworkManager

The browser should not need information related to the network interface or network state, tor should take care of that.

Author: Matthew Finkel, 2018-04-26 22:22:51 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:10 +0000
c64a3859 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Adjust the User Agent String so it doesn't leak Android version
Author: Matthew Finkel, 2018-04-26 15:17:42 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:10 +0000
f231a44f 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: top sites changed, used bookmarks icon temporarily.

Adjust the Top Sites shown when a user taps on the URL bar.

Signed-off-by: Amogh Pradeep <amoghbl1@gmail.com>

Author: Amogh Pradeep, 2015-06-18 04:14:18 -0400
Committer: Matthew Finkel, 2019-11-29 23:25:09 +0000
8eebd9be 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Always Quit, do not restore the last session
Author: Matthew Finkel, 2018-04-11 20:42:04 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:09 +0000
5d2fdecc 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Disable all data reporting by default

This includes: Telemetry Geo-Location (Wi-Fi, Cellular location data, etc) Health Report

Author: Matthew Finkel, 2018-04-11 20:37:43 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:08 +0000
7891c242 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Clear state when the app exits, by default

Do not delete downloaded files on exit.

These correspond with (in order): private.data.openTabs private.data.history private.data.searchHistory private.data.downloadFiles private.data.formdata private.data.cookies_sessions private.data.cache private.data.offlineApps private.data.siteSettings private.data.syncedTabs

Author: Matthew Finkel, 2018-04-11 18:55:25 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:08 +0000
b9f97ec0 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Do not import bookmarks and history from native browser by default
Author: Matthew Finkel, 2018-04-11 18:51:09 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:08 +0000
b24b467f 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Do not save browsing history by default
Author: Matthew Finkel, 2018-04-11 18:46:02 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:07 +0000
ba9dc0a3 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Conditionally require WIFI and NETWORK permissions

Only require the {ACCESS,CHANGE}_WIFI_STATE and ACCESS_NETWORK_STATE permissions if MOZ_ANDROID_NETWORK_STATE is defined in the preprocessor.

Also: AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Conditionally require *_LOCATION permissions

Only require the {FINE,COURSE}_LOCATION permissions if MOZ_ANDROID_LOCATION is defined in the preprocessor. Also include location features (with gps).

AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Move CAMERA permission within MOZ_WEBRTC

Require the CAMERA permissions if MOZ_WEBRTC is defined in the preprocessor.

AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Only include GCM permissions if we want them

AndroidTask
TBA - Does the app need the SYSTEM_ALERT_WINDOW permission?
Bug 26826
- Disable tab queue and delete SYSTEM_ALERT_WINDOW permission

AndroidTask
Review all requested and required Android permissions
Bug 24796
- Comment out excess permissions from GeckoView

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.

Author: Matthew Finkel, 2018-04-11 17:52:59 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:07 +0000
b0bf7a2e 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Disable QR Code reader by default

This is another accessibility and usability concern, so we allow this as an opt-in.

Author: Matthew Finkel, 2018-04-09 22:36:53 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:07 +0000
f91840de 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Disable the microphone by default

Deactivating this is an accessibility concern because this is used for voice dictation, so users should have the option of re-enabling this.

This uses the Android Speech API.

Author: Matthew Finkel, 2018-04-09 22:20:16 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:06 +0000
25376a34 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Disable telemetry and experiments
Author: Matthew Finkel, 2018-04-09 21:57:22 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:06 +0000
5cd25b46 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Remove sync option from preferences

We don't want this while the Sync subsystem is a proxy-bypass risk. We can drop this when the feature is patched (RESOLVED INCOMPLETE, Blocks: 1357994, [tor-mobile]
Make AccountManager related code pref-able
Bug 1314778
).

Signed-off-by: Amogh Pradeep <amoghbl1@gmail.com>

Also: AndroidBugDisk Leak
TBA: Set privacy preferences
Bug 28507
- Don't call Push and Sync services during Sanitize AndroidBug
Tor Browser for Android: Sync Sign-In Button crashes
Bug 30086
- Prevent Sync-related crashes on Android AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Only include Firefox Account permissions if we want them (using MOZ_ACCOUNT) AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Neuter Firefox Accounts

Author: Amogh Pradeep, 2015-07-17 13:27:07 -0400
Committer: Matthew Finkel, 2019-11-29 23:25:06 +0000
11cd0b00 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Add mobile-override of 000-tor-browser prefs
Author: Matthew Finkel, 2018-01-19 23:49:11 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:05 +0000
28db2e49 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Add default configure options in dedicated file
Author: Matthew Finkel, 2018-01-22 11:18:45 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:05 +0000
d070608a 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Do not register Stumbler listener at start up
Author: Matthew Finkel, 2018-04-25 01:55:44 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:05 +0000
cafe43af 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Add an AppConstant for TOR_BROWSER_VERSION
Author: Matthew Finkel, 2018-01-19 20:13:58 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:04 +0000
41597741 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Disable features at compile-time

MOZ_NATIVE_DEVICES for casting and the media player MOZ_TELEMETRY_REPORTING for telemetry MOZ_DATA_REPORTING for all data reporting preferences (crashreport, telemetry, geo)

Author: Matthew Finkel, 2018-04-09 19:48:12 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:04 +0000
cb9b3dca 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Add mozconfig for Android and pertinent branding files.

Based on Orfox initial commits with fixup commits squashed and rebranding Orfox -> Tor Browser

See original source from ce3fab3c90eb4a3892181ee36b037da04c785d99 https://github.com/guardianproject/tor-browser.git

Dropped symlinks

Also: TorBrowserTeam201812Rcomponent::community/translationsowner::tbb-teamparent::26782priority::mediumresolution::fixedseverity::normalstatus::closedtbb-localizationtype::defect
Remove superfluous strings on tba-android_stringsdtd branch
Bug 27125
- Move localized Tor Browser for Android strings into separate file AndroidPlatform ParityTaskUX
Update Tor Browser Icon for Android
Bug 28622
: Update Tor Browser icon for mobile AndroidFeature
TBA: Add export MOZILLA_OFFICIAL
Bug 27472
- Export MOZILLA_OFFICIAL during Android build AndroidBugPlatform Parity
Decide whether to use "Tor Browser" or "Tor Browser for Android" for mobile stable
Bug 30136
: Use 'Tor Browser' as brand name on mobile, too

AndroidBug
TBA: Implement about:tor
Bug 27111
: Configure tor browser for mobile to load about:tor

  • Add preferences.json: it is used to configure android specific preferences

  • Keep the ActivityStream HomePager closed when the user clicks in the url bar

Author: Matthew Finkel, 2018-02-02 17:04:11 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:04 +0000
97ef2bc0 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Move GCM Push prefs within preprocessor guard

Otherwise the preprocessor is sad because MOZ_ANDROID_GCM_SENDERID is not defined. We don't need any of this, so we exclude it.

Author: Matthew Finkel, 2018-04-15 14:19:38 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:02 +0000
2f2efcd2 1
AndroidBugBugSmashFund
Create tor-browser for mobile branch based on mozilla-central
Bug 25741
- TBA: Exclude unwanted Stumbler tests

When the stumbler service is ifdef-disabled because MOZ_ANDROID_MLS_STUMBLER is not defined, then the unit test compilation fails because some values are never declared and defined. We exclude all testStumbler*.java files from the robocop gecko test source tree.

Author: Matthew Finkel, 2018-04-16 13:47:48 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:02 +0000
ec41f317 1
Orfox: Centralized proxy applied to AbstractCommunicator and BaseResources.

See RESOLVED FIXED(Fx55), Blocks: 1357994, [tor-mobile]
Replace url.openConnection with ProxySelector.openConnectionWithProxy
Bug 1357997
for partial uplift.

Also: AndroidFeature
Build Orbot into TBA
Bug 28051
- Use our Orbot for proxying our connections

Proxy BypassTask
ESR68 Network Code Review
Bug 31144
- ESR68 Network Code Review

Author: Amogh Pradeep, 2015-06-12 02:07:45 -0400
Committer: Matthew Finkel, 2019-11-29 23:25:09 +0000
d62c6ae2 1
Bug
Urlbar search icons disappear after browser restart
Bug 31563
: force reloading search extensions if extensions.enabledScopes has changed
Author: Alex Catarineu, 2019-08-31 16:23:20 +0200
Committer: Matthew Finkel, 2019-11-29 23:25:02 +0000
c 30146eb2 1
RESOLVED FIXED(Fx70), Blocks: 1329996, [tor 24056]
UI locale is detectable by button width
Bug 1561322
- Allow spoofing strings in HTML forms r=baku,Pike

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.

Differential Revision: https://phabricator.services.mozilla.com/D35815

--HG-- extra : moz-landing-system : lando

Author: Alex Catarineu, 2019-07-24 13:22:22 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:01 +0000
c 592d6a27 1
RESOLVED FIXED(Fx71), Blocks: 1052575, 1577549
Store ArrayBuffer metadata in its own arena
Bug 1474659
Add dedicated AllocKinds just for ArrayBufferObjects. r?sfink

Summary: The reason for doing this is to get ArrayBufferObjects allocated into their own arenas.

The specific enum values were chosen to avoid breaking assumptions about where certain values fall in the list, such as OBJECT_FIRST == FUNCTION.

Reviewers: sfink

Subscribers: jandem

Bug #: 1474659

Differential Revision: https://phabricator.services.mozilla.com/D40227

Author: Tom Ritter, 2019-08-22 19:53:08 +0200
Committer: Matthew Finkel, 2019-11-29 23:25:01 +0000
c 65126e94 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 12. FPI isolation of translation permissions; r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D19933

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:22:53 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:01 +0000
97cd6b08 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 11. Use principal for permissions in webrtc UI; r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D19932

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-26 11:23:13 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:00 +0000
b9730ab7 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 10. Use principal for permissions in browser site-identity; r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D19931

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:22:59 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:00 +0000
5bd9181d 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 9. Use principal with mobile permissions; r=johannh,snorp

Differential Revision: https://phabricator.services.mozilla.com/D19930

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-26 17:00:54 +0000
Committer: Matthew Finkel, 2019-11-29 23:25:00 +0000
b2229bf4 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 8. Make canvas permission respect FPI; r=johannh,jrmuizel

Differential Revision: https://phabricator.services.mozilla.com/D19929

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:23:04 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:59 +0000
cbd7dcaa 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 7. Confirm FPI in permission manager tests; r=Ehsan

Differential Revision: https://phabricator.services.mozilla.com/D19928

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:23:02 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:59 +0000
f5ce4e6e 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 6. Use principal for permissions in sitePermissions.js; r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D19927

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:23:06 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:58 +0000
6ed56b33 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 5. Access permissions by principal in PermissionUI.jsm; r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D19926

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:23:08 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:58 +0000
0faa8d4f 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 3. Use principal for permissions in pageinfo/permissions.js; r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D19924

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:23:11 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:58 +0000
80871549 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 2. Add SitePermissions APIs functions to accept principal; r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D19923

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:23:13 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:57 +0000
49818861 1
RESOLVED FIXED(Fx69), Blocks: 1299996, 1402957, 1422056, 1494327, 1549837, [tor 21569][domsecurity-backlog2]
When "privacy.firstparty.isolate" is true, double-key permissions to origin + firstPartyDomain
Bug 1330467
- part 1. Don't strip first party domain from permissions key; r=johannh,Ehsan

Differential Revision: https://phabricator.services.mozilla.com/D19922

--HG-- extra : moz-landing-system : lando

Author: Liang-Heng Chen, 2019-05-17 13:23:16 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:57 +0000
b79aac36 1
Bug
SecurityLevelPreferences.uninit() never called on exit of about:preferences
Bug 31344
: Actually register SecurityLevelPreference's 'unload' callback in privacy.js
Author: Richard Pospesel, 2019-08-05 15:44:15 -0700
Committer: Matthew Finkel, 2019-11-29 23:24:57 +0000
b4e16608 1
Bug
Security Level menu hangs off of the toolbarbutton element when it should hang off of the toolbarbutton's child element with toolbarbutton-icon class
Bug 31251
: Security Level button UI polish

Changed the anchor to toolbarbutton's anonymous child toolbarbutton-icon xul:image element so that the security level panel has the same vertical alignment as other built-in toolbar buttons. Also needed to add the badged-button class to our toolbar button for this to align properly.

Now setting and deleting the "open" attribute from the toolbarbutton element so that it maintains the "pushed" style while the security level panel is open.

Changed the toolbarbutton's oncommand callback to onmousedown to match the behaviour of firefox's other toolbarbuttons. Security level panel now opens on mouse press rather than on mouse press and release.

Slightly re-arranged the ordering of the SecurityLevelPanel object's method definitions so that callbacks appear in a contiguous block to better match the other objects defined in securityLevel.js

Removed unnecessary async modifier from SecurityLevelPanel.openAdvancedSecuritySettings().

Fixed a few typos, improved comments, and removed trailing whitespace.

Author: Richard Pospesel, 2019-07-30 11:32:31 -0700
Committer: Matthew Finkel, 2019-11-29 23:24:56 +0000
01239031 1
BugProxy Bypass
"unable to connect" if Firefox GPOs configure proxy settings
Bug 30575
: Don't allow enterprise policies in Tor Browser
Author: Georg Koppen, 2019-06-07 11:49:06 +0000
Committer: Matthew Finkel, 2019-11-29 23:24:56 +0000
c80b94ed 1
BugUX
Blurry Tor Browser icon on macOS app switcher
Bug 30631
: Blurry Tor Browser icon on macOS app switcher

It would seem the png2icns tool does not generate correct icns files and so on macOS the larger icons were missing resulting in blurry icons in the OS chrome. Regenerated the padded icons in a macOS VM using iconutil.

Author: Richard Pospesel, 2019-06-07 10:26:40 -0700
Committer: Matthew Finkel, 2019-11-29 23:24:55 +0000
240542df 1
BugBugSmashFund
re-implement desktop onboarding for ESR 68
Bug 28822
: Convert onboarding to webextension
Author: Alex Catarineu, 2019-06-02 23:35:43 +0200
Committer: Matthew Finkel, 2019-11-29 23:24:55 +0000
29d72165 1
Bug
Introduce new features to users in Tor Browser
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.

Author: Kathy Brade, 2019-04-03 16:14:46 -0400
Committer: Matthew Finkel, 2019-11-29 23:24:54 +0000
c9e51bd9 1
BugUX
Onboarding: "Visit an Onion" creates an "about:blank" loading page
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".

Author: Kathy Brade, 2019-02-13 11:32:13 -0500
Committer: Matthew Finkel, 2019-11-29 23:24:53 +0000
b91f747e 1
Bug
implement new features onboarding
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.

Author: Kathy Brade, 2018-08-24 14:47:31 -0400
Committer: Matthew Finkel, 2019-11-29 23:24:53 +0000
e7c5dbce 1
Bug
implement new user onboarding
Bug 26961
: New user onboarding.

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 BackportBug
always allow SVGs on about:* pages
bug 27002
), For defense in depth, omit include OnboardingTelemetry.jsm entirely. Added support for the following UITour page event: torBrowserOpenSecuritySettings

Also fix Bug
The onboarding bubble does not show up in the release candidate for Tor Browser
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 BugUX
Introduce New Security Settings to users
bug 28628
: Change onboarding Security panel to open new Security Level panel.

Also fix BugUX
Onboarding: unintuitive not-navigation buttons, starting with "Circuit Display" / "See My Path"
bug 27484
: Improve navigation within onboarding.

Author: Kathy Brade, 2018-08-07 15:11:46 -0400
Committer: Matthew Finkel, 2019-11-29 23:24:53 +0000
0cbfbb34 1
Revert "RESOLVED FIXED(Fx64), Blocks: 1457565, 1449052, 1453969, 1477630, 1494282, 1496721
Delete onboarding system add-on
Bug 1462415
- Delete onboarding system add-on r=Standard8,k88hudson"

This reverts commit f7ffd78b62541d44d0102f8051d2f4080bdbc432.

Author: Alex Catarineu, 2019-05-29 20:04:37 +0200
Committer: Matthew Finkel, 2019-11-29 23:24:52 +0000
743493b3 1
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: Matthew Finkel, 2019-11-29 23:24:52 +0000
ddfc2c10 1
BugProxy Bypass
remove pingsender from Tor Browser
Bug 28369
: Stop shipping pingsender executable
Author: Alex Catarineu, 2019-04-10 17:52:51 +0200
Committer: Matthew Finkel, 2019-11-29 23:24:51 +0000
3c335258 1
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: Matthew Finkel, 2019-11-29 23:24:49 +0000
  • RESOLVED FIXED(Fx75), [tor 29120]
    Ensure media cache is memory-only when in Private Browsing Mode
    Bug 1532486
f 851cd9a4 1
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: Matthew Finkel, 2019-11-29 23:24:28 +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 a8377709 1
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: Matthew Finkel, 2019-11-29 23:24:27 +0000
f4108e60 1
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
  • Use the Tor Browser icon within devtools/client/themes/images/.
Author: Richard Pospesel, 2019-01-11 16:08:47 -0800
Committer: Matthew Finkel, 2019-11-29 23:23:55 +0000
adc68162 1
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: Matthew Finkel, 2019-11-29 23:23:54 +0000
3bdd5348 1
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: Matthew Finkel, 2019-11-29 23:23:54 +0000
471e4a62 1
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: Matthew Finkel, 2019-11-29 23:23:53 +0000
  • RESOLVED FIXED(Fx77), [necko-triaged] [tor 21537]
    Allow 'secure' cookies when set by .onion site
    Bug 1633015
f b53099f7 1
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: Matthew Finkel, 2019-11-29 23:23:53 +0000
28396d21 1
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: Matthew Finkel, 2019-11-29 23:23:53 +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 287fff60 1
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: Matthew Finkel, 2019-11-29 23:23:52 +0000
  • RESOLVED WONTFIX, Blocks: 1329996, [tor 23104][tor 23701][tor 29563][fingerprinting][fp-triaged]
    CSS line-height reveals platform
    Bug 1397994
2aa08f94 1
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: Matthew Finkel, 2019-11-29 23:23:52 +0000
744d67a7 1
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: Matthew Finkel, 2019-11-29 23:23:51 +0000
37548834 1
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: Matthew Finkel, 2019-11-29 23:23:50 +0000
cef2084f 1
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: Matthew Finkel, 2019-11-29 23:23:50 +0000
6aacfdc9 1
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: Matthew Finkel, 2019-11-29 23:23:50 +0000
da8b3150 1
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: Matthew Finkel, 2019-11-29 23:23:49 +0000
a5a9ee91 1
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: Matthew Finkel, 2019-11-29 23:23:49 +0000
18fa72eb 1
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: Matthew Finkel, 2019-11-29 23:23:49 +0000
8bdafe6a 1
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: Matthew Finkel, 2019-11-29 23:23:47 +0000
c9edcf4d 1
BugSecurity
Sign our MAR files
Bug 13379
: Sign our MAR files.

Configure with --enable-signmar (build the signmar tool). Configure with --enable-verify-mar (when updating, require a valid signature on the MAR file before it is applied). Use the Tor Browser version instead of the Firefox version inside the MAR file info block (necessary to prevent downgrade attacks). Use NSS on all platforms for checking MAR signatures (instead of using OS-native APIs, which Mozilla does on Mac OS and Windows). So that the NSS and NSPR libraries the updater depends on can be found at runtime, we add the firefox directory to the shared library search path on macOS. On Linux, rpath is used by Mozilla to solve that problem, but that approach won't work on macOS because the updater executable is copied during the update process to a location that is under TorBrowser-Data, and the location of TorBrowser-Data varies.

Also includes the fix for Bug
TB 6.0a5: updater doesn't work on Linux (cannot find libraries)
bug 18900
.

Author: Kathy Brade, 2014-12-17 16:37:11 -0500
Committer: Matthew Finkel, 2019-11-29 23:23:47 +0000
c525e225 1
Bug
reinstate the update.xml hash check
Bug 19121
: reinstate the update.xml hash check

This is a partial revert of commit f1241db6986e4b54473a1ed870f7584c75d51122.

Revert the nsUpdateService.js changes from Mozilla RESOLVED FIXED(Fx43)
main thread I/O in update service
Bug 862173
"don't verify mar file hash when using mar signing to verify the mar file (lessens main thread I/O)."

Changes to the tests were not reverted; the tests have been changed significantly and we do not run automated updater tests for Tor Browser at this time.

We kept the addition to the AppConstants API in case other JS code references it in the future.

Author: Kathy Brade, 2016-05-20 11:08:51 -0400
Committer: Matthew Finkel, 2019-11-29 23:23:45 +0000
8b125a9b 1
Bug
reinstate the update.xml hash check
Bug 19121
: reinstate the update.xml hash check

Revert most changes from Mozilla RESOLVED FIXED(Fx56)
Remove hashFunction and hashValue attributes from nsIUpdatePatch and code related to these values
Bug 1373267
"Remove hashFunction and hashValue attributes from nsIUpdatePatch and code related to these attributes." Changes to the tests were not reverted; the tests have been changed significantly and we do not run automated updater tests for Tor Browser at this time.

Author: Kathy Brade, 2018-04-23 15:22:57 -0400
Committer: Matthew Finkel, 2019-11-29 23:23:45 +0000
f6f1a382 1
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: Matthew Finkel, 2019-11-29 23:23:44 +0000
0c122ae9 1
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: Matthew Finkel, 2019-11-29 23:23:44 +0000
6a29c6ce 1
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: Matthew Finkel, 2019-11-29 23:23:44 +0000
a975ad78 1
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: Matthew Finkel, 2019-11-29 23:23:43 +0000
  • VERIFIED FIXED, Blocks: 1280378, [tor 19890]
    [Out Of Date Notification] Notification bar is displayed for Tor Browser
    Bug 1294395
caacd26f 1
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: Matthew Finkel, 2019-11-29 23:23:43 +0000
7482ec48 1
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: Matthew Finkel, 2019-11-29 23:23:43 +0000
  • RESOLVED WONTFIX, [tor 18923]
    Add build flag to disable network tickler
    Bug 1432900
bdb958f0 1
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: Matthew Finkel, 2019-11-29 23:23:42 +0000
f4605cb4 1
Regression tests for #2874: Block Components.interfaces from content Author: Arthur Edelstein, 2014-08-27 12:16:54 -0700
Committer: Matthew Finkel, 2019-11-29 23:23:42 +0000
  • RESOLVED FIXED(Fx97), Blocks: 1433504, [tor 18821]
    Introduce a build flag to disable libmdns
    Bug 1432983
f 71707d8b 1
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: Matthew Finkel, 2019-11-29 23:23:42 +0000
  • RESOLVED DUPLICATE, Blocks: 1260929, 1433504, [tor 18800]
    Add pref to prevent localhost DNS lookup in nsProfileLock.cpp
    Bug 1432905
38ac63a7 1
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: Matthew Finkel, 2019-11-29 23:23:41 +0000
f 94ae5259 1
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: Matthew Finkel, 2019-11-29 23:23:41 +0000
8a5ee900 1
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: Matthew Finkel, 2019-11-29 23:23:41 +0000
ae6ddf95 1
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: Matthew Finkel, 2019-11-29 23:23:40 +0000
ffde4d2e 1
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: Matthew Finkel, 2019-11-29 23:23:40 +0000
5c03a3f4 1
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: Matthew Finkel, 2019-11-29 23:23:39 +0000
b0fc68b1 1
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: Matthew Finkel, 2019-11-29 23:23:39 +0000
  • RESOLVED WONTFIX, Blocks: 1433504, [tor 13028][psm-backlog]
    potential proxy bypasses in networking code
    Bug 1433509
0e574444 1
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: Matthew Finkel, 2019-11-29 23:23:39 +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
0ff92e36 1
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: Matthew Finkel, 2019-11-29 23:23:38 +0000
  • RESOLVED WORKSFORME, [tor 10280]
    Introduce a pref that delays plugin loading without user's active consent
    Bug 1432680
33e95429 1
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: Matthew Finkel, 2019-11-29 23:23:38 +0000
e42da36e 1
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: Matthew Finkel, 2019-11-29 23:23:37 +0000
16e5c964 1
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: Matthew Finkel, 2019-11-29 23:23:37 +0000
9a783e47 1
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: Matthew Finkel, 2019-11-29 23:23:28 +0000
6400dfd4 1
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: Matthew Finkel, 2019-11-29 23:22:09 +0000
855906c1 1
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: Matthew Finkel, 2019-11-29 23:22:09 +0000
069e7155 1
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: Matthew Finkel, 2019-11-29 23:22:09 +0000
7f5b428b 1
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: Matthew Finkel, 2019-11-29 23:22:08 +0000
763fc81a 1
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.

Since ESR45 this feature is enabled by default and we exempt EFF's HTTPS-Everywhere from this requirement.

Author: Georg Koppen, 2017-03-30 10:38:06 +0000
Committer: Matthew Finkel, 2019-11-29 23:22:08 +0000
5ecce933 1
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: Matthew Finkel, 2019-11-29 23:22:07 +0000
d81a77cd 1
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: Matthew Finkel, 2019-11-29 23:22:06 +0000
f7e408ca 1
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: Matthew Finkel, 2019-11-29 23:22:06 +0000
82adba1d 1
libvpx provides already cpu_features Author: Matthew Finkel, 2019-06-27 20:57:21 +0000
Committer: Matthew Finkel, 2019-11-29 15:37:19 +0000
6a9a817f 1
Revert "VERIFIED FIXED(Fx71), Blocks: 1579217, [fennec68.2]
Add a sign-in button to each Fennec onboarding card
Bug 1570878
- Add sign-in buttons to onboarding. r=petru a=RyanVM"

This reverts commit a3f466a3ac73f0d11f3f3ba054173087e66a0ab5.

Author: Georg Koppen, 2019-10-18 06:35:58 +0000
Committer: Matthew Finkel, 2019-11-29 15:37:19 +0000
a0ce6d07 1
Revert "VERIFIED FIXED(Fx71), Blocks: 1579217, [fennec68.2]
Add a sign-in button to each Fennec onboarding card
Bug 1570878
- Update fenenc onboarding content. r=petru a=RyanVM"

This reverts commit 303c1ef548d23dfd0d8aa1e9e61481c1baea02a8.

Author: Georg Koppen, 2019-10-18 06:34:50 +0000
Committer: Matthew Finkel, 2019-11-29 15:37:18 +0000
8d610f4f 1
Revert "VERIFIED FIXED(Fx71), Blocks: 1570878, 1570880, [fennec68.2]
Land Sign in feature strings for Onboarding & Activity Stream
Bug 1576170
- Onboarding Sign up strings. r=flod a=RyanVM"

This reverts commit a7cc5967877636728e29ea865dc46a2889b7de58.

Author: Georg Koppen, 2019-10-18 06:35:34 +0000
Committer: Matthew Finkel, 2019-11-29 15:37:19 +0000
9a7ac17a 1
Revert "RESOLVED FIXED
Permafailing android-lint | Lint found errors in the project; aborting build. See the report at: https://queue.taskcluster.net/v1/task/QuSOPfyfRWmfGBjeoF3Pkw/runs/0/artifacts/public/android/lint/lint-results-withoutGeckoBinariesDebug.html
Bug 1585132
- Fix lint failures from sign up button patches. r=petru, a=RyanVM"

This reverts commit 1c54037a5bb7ded841b5a795041772a4571944f9.

Author: Georg Koppen, 2019-10-18 06:35:19 +0000
Committer: Matthew Finkel, 2019-11-29 15:37:18 +0000
ada03dd8 1
Revert "VERIFIED FIXED, Blocks: 1579217, [fennec68.2]
Add sign-in button and status to Fennec New Tab
Bug 1570880
- Added Sign in buttons in Awesomescreen. r=petru a=RyanVM"

This reverts commit 896fa0df588de10b22e827b8f9999c69daa9e05d.

Author: Georg Koppen, 2019-10-18 06:35:03 +0000
Committer: Matthew Finkel, 2019-11-29 15:37:18 +0000
560c707c 1
Revert "VERIFIED FIXED
The welcome panel card appears twice in the onboarding process
Bug 1586205
- Change LP variables to fallback to same nonLP defaults. r=petru, a=RyanVM"

This reverts commit ab8797462cefdaf99d10e1981f2a168750cc697a.

Author: Georg Koppen, 2019-10-18 06:34:38 +0000
Committer: Matthew Finkel, 2019-11-29 15:37:18 +0000
4de4d888 1
Revert "VERIFIED FIXED, Blocks: 1570878, [fennec68.2]
Add separate FxA entrypoint events for each Fennec Onboarding panel
Bug 1587631
- Add FxA entrypoint option for panel configurations. r=petru, a=RyanVM"

This reverts commit 484ec9407da4234000a73d2426f09de62de0274e.

Author: Georg Koppen, 2019-10-18 06:34:26 +0000
Committer: Matthew Finkel, 2019-11-29 15:37:17 +0000
Generated at: 2025-04-28 08:32 UTC