1. 22 Jan, 2021 2 commits
    • Kathleen Brade's avatar
      Bug 16439: Remove screencasting code · 1a94a80b
      Kathleen Brade authored and Matthew Finkel's avatar Matthew Finkel committed
      We avoid including the screencasting code on mobile (it got ripped out
      for desktop in bug 1393582) by simply excluding the related JS modules
      from Tor Browser.
      1a94a80b
    • Mike Perry's avatar
      TB3: Tor Browser's official .mozconfigs. · 0eefd49f
      Mike Perry authored and Matthew Finkel's avatar Matthew Finkel committed
      Also:
      Bug #9829.1: new .mozconfig file for the new cross-compiler and ESR24
      Changes needed to build Mac in 64bit
      Bug 10715: Enable Webgl for mingw-w64 again.
      Disable ICU when cross-compiling; clean-up.
      Bug 15773: Enable ICU on OS X
      Bug 15990: Don't build the sandbox with mingw-w64
      Bug 12761: Switch to ESR 38 for OS X
      Updating .mozconfig-asan
      Bug 12516: Compile hardenend Tor Browser with -fwrapv
      Bug 18331: Switch to Mozilla's toolchain for building Tor Browser for OS X
      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.
      Bug 13419: Add back ICU for Windows
      Bug 21239: Use GTK2 for ESR52 Linux builds
      Bug 23025: Add hardening flags for macOS
      Bug 24478: Enable debug assertions and tests in our ASan builds
      --enable-proxy-bypass-protection
      Bug 27597: ASan build option in tor-browser-build is broken
      
      Bug 27623 - Export MOZILLA_OFFICIAL during desktop builds
      
      This fixes a problem where some preferences had the wrong default value.
      Also see bug 27472 where we made a similar fix for Android.
      
      Bug 30463: Explicitly disable MOZ_TELEMETRY_REPORTING
      
      Bug 31450: Set proper BINDGEN_CFLAGS for ASan builds
      
      Add an --enable-tor-browser-data-outside-app-dir configure option
      
      Add --with-tor-browser-version configure option
      
      Bug 21849: Don't allow SSL key logging.
      
      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.
      
      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.
      
      Bug 32493: Disable MOZ_SERVICES_HEALTHREPORT
      
      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)
      
      Bug 25741 - TBA: Add default configure options in dedicated file
      
      Define MOZ_ANDROID_NETWORK_STATE and MOZ_ANDROID_LOCATION
      
      Bug 29859: Disable HLS support for now
      
      Add --disable-tor-launcher build option
      
      Add --enable-tor-browser-update build option
      
      Bug 33734: Set MOZ_NORMANDY to False
      
      Bug 33851: Omit Parental Controls.
      
      Bug 40061: Omit the Windows default browser agent from the build
      
      Bug 40211: Lower required build-tools version to 29.0.2
      0eefd49f
  2. 12 Nov, 2020 2 commits
  3. 04 Dec, 2020 1 commit
  4. 06 Nov, 2020 1 commit
  5. 28 Oct, 2020 1 commit
  6. 10 Sep, 2020 1 commit
  7. 10 Aug, 2020 1 commit
  8. 07 Aug, 2020 2 commits
  9. 26 Oct, 2020 1 commit
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. · 02a7b4eb
      Ricky Stewart authored
      
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
      
      5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      02a7b4eb
  10. 24 Oct, 2020 1 commit
    • Bogdan Tara's avatar
      Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for... · da1098d4
      Bogdan Tara authored
      Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
      
      Backed out changeset ff3fb0b4a512 (bug 1672023)
      Backed out changeset e7834b600201 (bug 1654103)
      Backed out changeset 807893ca8069 (bug 1518999)
      Backed out changeset 13e6b92440e9 (bug 1518999)
      Backed out changeset 8b2ac5a6c98a (bug 1518999)
      Backed out changeset 575748295752 (bug 1518999)
      Backed out changeset 65f07ce7b39b (bug 1518999)
      Backed out changeset 4bb80556158d (bug 1518999)
      Backed out changeset 8ac8461d7bd7 (bug 1518999)
      Backed out changeset e8ba13ee17f5 (bug 1518999)
      da1098d4
  11. 23 Oct, 2020 1 commit
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`.... · c0cea3b0
      Ricky Stewart authored
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
      
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
      
      5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      c0cea3b0
  12. 22 Oct, 2020 1 commit
  13. 21 Oct, 2020 1 commit
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`.... · 50762dac
      Ricky Stewart authored
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
      
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      50762dac
  14. 24 Jun, 2020 3 commits
  15. 23 Jun, 2020 2 commits
  16. 10 Jun, 2020 1 commit
  17. 05 Jun, 2020 3 commits
  18. 10 Jul, 2020 1 commit
  19. 09 Jul, 2020 2 commits
  20. 07 Jul, 2020 1 commit
  21. 25 Jun, 2020 1 commit
  22. 27 May, 2020 1 commit
    • Matt Woodrow's avatar
      Bug 1631405 - Move nsISecureBrowserUI to be owned by the canonical browsing... · e060a86c
      Matt Woodrow authored
      Bug 1631405 - Move nsISecureBrowserUI to be owned by the canonical browsing context instead of docshell. r=nika,ckerschb,Gijs,webcompat-reviewers,twisniewski
      
      This removes all docshell nsISecureBrowserUI and mixed content properties, and moves them into CanonicalBrowsingContext/WindowGlobalParent. It makes the mixed content blocker just compute the state for the current load, and then send the results to the parent process, where we update the security state accordingly.
      
      I think we could in the future remove onSecurityChange entirely, and instead just fire an event to the <browser> element notifying it of changes to the queryable securityUI.
      
      Unfortunately we have a lot of existing code that depends on specific ordering between onSecurityChange and onLocationChange, so I had to hook into the RemoteWebProgress implementation in BrowserParent to mimic the same timings.
      
      Differential Revision: https://phabricator.services.mozilla.com/D75447
      e060a86c
  23. 26 May, 2020 2 commits
    • Bogdan Tara's avatar
      Backed out 4 changesets (bug 1631405) for multiple mochitest failures CLOSED TREE · a54ec307
      Bogdan Tara authored
      Backed out changeset 9963cc0b23cb (bug 1631405)
      Backed out changeset 469ac933ed7c (bug 1631405)
      Backed out changeset 0c5f55864268 (bug 1631405)
      Backed out changeset 20dcbcc2f3b8 (bug 1631405)
      a54ec307
    • Matt Woodrow's avatar
      Bug 1631405 - Move nsISecureBrowserUI to be owned by the canonical browsing... · 240d417e
      Matt Woodrow authored
      Bug 1631405 - Move nsISecureBrowserUI to be owned by the canonical browsing context instead of docshell. r=nika,ckerschb,Gijs,webcompat-reviewers,twisniewski
      
      This removes all docshell nsISecureBrowserUI and mixed content properties, and moves them into CanonicalBrowsingContext/WindowGlobalParent. It makes the mixed content blocker just compute the state for the current load, and then send the results to the parent process, where we update the security state accordingly.
      
      I think we could in the future remove onSecurityChange entirely, and instead just fire an event to the <browser> element notifying it of changes to the queryable securityUI.
      
      Unfortunately we have a lot of existing code that depends on specific ordering between onSecurityChange and onLocationChange, so I had to hook into the RemoteWebProgress implementation in BrowserParent to mimic the same timings.
      
      Differential Revision: https://phabricator.services.mozilla.com/D75447
      240d417e
  24. 06 May, 2020 3 commits
  25. 21 Apr, 2020 3 commits
  26. 20 Apr, 2020 1 commit