Skip to content
Permalink
21569

Commits on Apr 13, 2017

  1. fixup! Bug #4234: Use the Firefox Update Process for Tor Browser.

    Bug 19316: change update URL from update_2 to update_3
    boklm authored and gk-tpo committed Apr 13, 2017
  2. Backport of tjr's patch for bug 1353765

    It's not clear if it is still needed but we take it to be on the safe
    side. This closes #21868.
    gk-tpo committed Apr 13, 2017
  3. fixup! Bug #4234: Use the Firefox Update Process for Tor Browser.

    Bug 19316: add support for a minInstructionSet attribute in the update
    manifests.
    boklm authored and gk-tpo committed Apr 13, 2017
  4. Bug 1342887 - Detect and log failures to dispatch SetupMacCommandLine…

    … to the main thread. r=rstrong
    
    MozReview-Commit-ID: LMoxF5yfXq2
    
    --HG--
    extra : rebase_source : c206e32bf8abf1aa225901ff5cde390a8a2ecec7
    mhowell-mozilla authored and Kathy Brade committed Apr 13, 2017
  5. Bug 1335916 - Make sure the update driver only calls SetupMacCommandL…

    …ine from the main thread. r=rstrong
    
    MozReview-Commit-ID: 9nOgB6z8ooE
    
    --HG--
    extra : rebase_source : 6a6a18f64297a0bd44e7d6f49b1812e035636e4c
    mhowell-mozilla authored and Kathy Brade committed Apr 13, 2017

Commits on Apr 12, 2017

  1. Bug 21907: Fix runtime error on CentOS 6

    In Mozilla 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.
    boklm authored and gk-tpo committed Apr 12, 2017

Commits on Apr 11, 2017

  1. Bug 1352305 - Part2: Add a test case for making sure dialog windows w…

    …ill not be enforced to rounded sizes when fingerprinting resistance is enabled. r?ehsan
    
    A browser chrome test which ensures the dialog windows will not be enforced to
    be rounded sizes when fingerprinting resistance is enabled.
    
    MozReview-Commit-ID: LQG13FMANav
    artines1 authored and arthuredelstein committed Apr 11, 2017
  2. Bug 1352305 - Part 1: Making the XULWindow will not be enforecd to be…

    … rounded dimensions if it is
    
    a window without a primary content when fingerprinting resistance is enabled. r?ehsan
    
    This patch making the nsXULWindow::ForceRoundedDimensions() will only be called
    when this window is a window which has a primary content when fingerprinting
    resistance is enabled.
    
    This will fix the problem that dialog windows are incorrectly resized after
    fingerprinting resistance is enabled.
    
    MozReview-Commit-ID: 6WD6c38CTPv
    artines1 authored and arthuredelstein committed Apr 11, 2017
  3. Bug 21876: Always use esr policies for e10s.

    Always use the policies associated with the esr update channel so that
    the e10s behavior is the same for all Tor Browser builds.
    Kathy Brade
    Kathy Brade committed Apr 11, 2017

Commits on Apr 10, 2017

  1. Revert "Bug 19212: SIGSEGV with developer tools open"

    This reverts commit 6fd5ac8.
    arthuredelstein committed Apr 10, 2017

Commits on Apr 8, 2017

  1. fixup! TB3: Tor Browser's official .mozconfigs.

    Use GTK2 for hardened-builds as well.
    gk-tpo committed Apr 8, 2017

Commits on Apr 7, 2017

Commits on Apr 5, 2017

  1. fixup! TB3: Tor Browser's official .mozconfigs.

    Update the user agent we set to a Windows ESR 52 one.
    gk-tpo committed Apr 5, 2017
  2. squash! TB3: Tor Browser's official .mozconfigs.

    Bug 21239: Use GTK2 for ESR52 Linux builds
    gk-tpo committed Apr 5, 2017
  3. Bug 1336527 Define RegisterIdlePeriod r=baku

    MozReview-Commit-ID: A41UJ6OHvP7
    
    --HG--
    extra : rebase_source : 0191c1bbece94bb9dabbf2daf56351a624efa481
    tomrittervg authored and gk-tpo committed Apr 5, 2017
  4. Fix SSE2 compilation for mingw-w64

    This is tjr's workaround for bug 1331335.
    gk-tpo committed Apr 5, 2017
  5. Getting Tor Browser to build with accessibility enabled on Windows

    Patch by Jacek Caban
    gk-tpo committed Apr 5, 2017
  6. Bug 805173 - Enable HeapEnableTerminationOnCorruption for chrome proc…

    …esses on Windows. r=mhowell,tjr
    
    This is an exploit mitigation which causes the Windows system allocator to abort
    in the event it is in a corrupted state, rather than attempt to proceed in a
    potentially exploitable state.
    
    Because we use jemalloc, this only affects system libraries or plugins which
    still use the system allocator.
    
    The has been enabled on our content processes for a while without incident.
    
    r=mhowell,tjr
    
    MozReview-Commit-ID: 5ctXugtbI1A
    
    --HG--
    extra : rebase_source : f6f134404be3b258a8e522c22fa061c32a47e313
    Alex Gaynor authored and gk-tpo committed Apr 5, 2017
  7. 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.
    mikeperry-tor authored and gk-tpo committed Apr 5, 2017
  8. Bug 21723: Fix inconsistent generation of MOZ_MACBUNDLE_ID

    CFBundleIdentifiers can only contain [A-Za-z.-], and by convention
    the app component is lowercase and does not contain '.'.
    
    Make configure delete all characters other than [a-z-] when generating
    MOZ_MACBUNDLE_ID from MOZ_APP_DISPLAYNAME.
    
    (This affects "Tor Browser", but not "Firefox".)
    teor2345 authored and gk-tpo committed Apr 5, 2017
  9. 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.
    teor2345 authored and gk-tpo committed Apr 5, 2017
  10. Workaround for broken ASan builds (bug 1272498)

    ASan builds with GCC are broken without this patch. The much more involved
    one landed on mozilla-central a while ago but missed the ESR 52 train by
    three days.
    gk-tpo committed Apr 5, 2017
  11. Bug 14970: Don't block our unsigned extensions

    Mozilla introduced extension signing as a way to make it harder for an
    attacker to get a malicious add-on running in a user's browser. See:
    https://blog.mozilla.org/addons/2015/02/10/extension-signing-safer-experience
    and https://blog.mozilla.org/addons/2016/01/22/add-on-signing-update/
    for some background information.
    
    In ESR45 this feature is enabled by default and we exempt both our own
    extensions and EFF's HTTPS-Everywhere from this requirement.
    gk-tpo committed Apr 5, 2017
  12. Bug 1348841 - switch on blocking mode for named-pipe only on windows;…

    … r=bagder,mayhemer
    
    MozReview-Commit-ID: Gvm88q26VHK
    
    --HG--
    extra : rebase_source : 188b65cba6b4ecb243b4b6ab8c55733f82217567
    xeonchen authored and gk-tpo committed Apr 5, 2017
  13. Bug 1330882 - Part 5: Add more test cases for rounded windows test. r…

    …=arthuredelstein,smaug
    
    This patch adds two more test cases, browser_roundedWindow_open.js and
    browser_roundedWindow_windowSetting.js. The browser_roundedWindow_open.js tests
    the window.open() with window features, it will test window.open() with numbers
    of window features to see that whether the opened window is correctly rounded.
    
    The browser_roundedWindow_windowSetting.js tests the setting of
    innerWidth/Height and outerWidth/Height. To see that the window is correctly
    rounded or not after the setting.
    
    This patch also adds a head.js and rename the browser_roundedWindow.js to
    browser_roundedWindow_newWindow.js. The head.js carries two helper functions
    that calculate the maximum available content size and the chrome UI size of
    the pop up window.
    
    MozReview-Commit-ID: LxJ2h2qAanY
    
    --HG--
    extra : rebase_source : b3744155fda93bd9e1650d07db7105092a2e5260
    artines1 authored and gk-tpo committed Apr 5, 2017
  14. Bug 1330882 - Part 4: Making the window.open() can only open rounded …

    …windows and the inner window will be automatically rounded after setting size through innerWidth/Height and outerWidth/Height when fingerprinting resistance is enabled. r=smaug
    
        This patch makes the size of inner windows will be automatically rounded for
        either window.open() with window features or setting window size through
        innerWidth/Height and outerWidth/Height when fingerprinting resistance is
        enabled. If the given value is greater the maximum available rounded size, then
        it will be set to the maximum value. Otherwise, the size will be set to the
        nearest upper 200x100.
    
        This patch also adds one helper function in nsContentUtils for calculating the
        rounded window dimensions.
    
        MozReview-Commit-ID: J2r3951vuNN
    
        --HG--
        extra : rebase_source : a44b19bdf2ce7e90fc831ddc2b85a86d594cb0c3
    artines1 authored and gk-tpo committed Apr 5, 2017
  15. Bug 1330882 - Part 3: Add a test case for opening new windows as roun…

    …ded size when fingerprinting resistance is enabled. r=arthuredelstein,smaug
    
    MozReview-Commit-ID: Gvksnh3cKHM
    
    --HG--
    extra : rebase_source : cae848ca467af34c08bff7190dce50cffa1399cc
    artines1 authored and gk-tpo committed Apr 5, 2017
  16. Bug 1330882 - Part 2: Disallow the session restore to modify window s…

    …ize when fingerprinting resistance is enabled. r=arthuredelstein,mikedeboer
    
    MozReview-Commit-ID: F1Ray6c5dzq
    
    --HG--
    extra : rebase_source : ed299058bf6f926e5987468dcab518b110fd7220
    
    Conflicts:
    	browser/components/sessionstore/SessionStore.jsm
    artines1 authored and gk-tpo committed Apr 5, 2017
  17. Bug 1330882 - Part 1: Making new windows to be rounded size when fing…

    …erprinting resistance is enabled (adopt from Tor #19459). r=arthuredelstein,smaug
    
    MozReview-Commit-ID: 1qBNQhfdIYP
    
    --HG--
    extra : rebase_source : c46b4a936960ff165f950a59c1d31c1c5849645f
    artines1 authored and gk-tpo committed Apr 5, 2017
  18. 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:
    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 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 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.
    mikeperry-tor authored and gk-tpo committed Apr 5, 2017
Older