BB/TB 43419: Rebased onto 138.0a1

Merge Info

Issues

Resolves

Review

Change Description

  • BB 21431: Clean-up system extensions shipped in Firefox
  • BB 42831: Remove the shopping components.
    • Code we change in browser.xhtml was moved to browser-main.js
  • BB 31740: Remove some unnecessary RemoteSettings instances
    • DomainToCategoriesMap was moved from SearchSERPTelemetry.sys.mjs to SERPCategorization.sys.mjs.
  • BB 41635: Disable the Normandy component
    • featuregates was removed
  • BB 42070: Hide "Use smooth scrolling" from settings
  • BB 43117: Hide "Always underline links" from settings.
  • BB 43118: Hide feature recommendation (CFR) settings.
    • Settings group was refactored. I had to kinda completely change the patches :D After checking, I realized just adding hidden: true did not work anymore, so I just commented out the settings.
  • BB 40283: Workaround for the file upload bug
    • Part of the code whe change was removed. So I remvoed it as well. We need to verify if the patch is still working as expected. (We need tests so baddddddddd)
    • ba6c2318
  • BB 31575: Disable Firefox Home (Activity Stream)
    • BrowserGlue.sys.mjs was refactored and SaveToPocket is initialized elsewhere. I changed it, we need to double check the change is good.
    • AboutHomeStartupCache was moved from BrowserGlue to its own file.
    • Code we change in AboutRedirector.cpp was removed in https://phabricator.services.mozilla.com/D237641
    • Need to verify functionality is intact.
  • BB 40925: Implemented the Security Level component
    • url was renamed to query due to some refactors.
  • BB 41736: Customize toolbar for base-browser.
    • Functions are not prefixed with _ anymore, so I also remored the prefix from our function.
  • TB 7494: Create local home page for TBB.
    • Moved call of checkHomepageOverride to BrowserComponents.manifest. Also had to refactor the function to be inside an object, otherwise the new way of doing things is unable to call the function.
  • TB 41736: Customize toolbar for tor-browser.
    • Functions are not prefixed with _ anymore, so I also remored the prefix from our function.
  • TB 40015: [android] Port padlock states for .onion services
    • SiteSecurity was renated to SiteInfo. It also has a new variant, LOCAL_PDF.
  • [android] Disable features and functionality
    • AdjustMetricsService.kt has been refactored and I had to redo some of the noops. Namely, AdjustLifecycleCallbacks.alreadyKnown and AdjustLifecycleCallbacks.triggerPing.
  • [android] Rename as Tor Browser
    • Mozilla added some = so I did too. Not sure why they did it.
  • TB 41972: [android] Disable Mozilla onboarding
    • New resources had to be replaced with mozac_lib_crash_notification. This changes needs to be verified.
  • TB 34403 [android]: Disable Normal mode by default.
    • Core.kt applicationSearchEngines has been removed.
    • Settings.kt shouldShowPrivateModeCfr has been removed.

How Tested

I have built for Linux and Android aarch64. Both build and connect to the Tor network as expected. This MR needs further testing, but for that I will file follow up audit tickets.

Edited by Pier Angelo Vendrame

Merge request reports

Loading