Rebase 148 build-1 cherry pick MR review
Just the git cherry-pick FIREFOX_NIGHTLY_147_END..tor-browser-147.0a1-16.0-2-build1
all conflict notes
-
BB 43564: Modify ./mach bootstrap for Base Browser
- bootstrapy.py
- https://github.com/mozilla-firefox/firefox/blob/main/python/mozboot/mozboot/bootstrap.py
- moz collapsesd ( and [ and removed a layer of indentation for OrderedDict
- bootstrapy.py
-
Tweaks to the build system
- mach.txt
- pypi-optional:glean-sdk version bump that we comment out
- mach.txt
-
BB 24796: Comment out excess permissions from GeckoView
- mobile/android/moz.configure
- moz added more flags at EOF where we added more flags
- mobile/android/moz.configure
-
BB 44045: Disable ML features
- toolkit/modules/ActorManagerParent.sys.mjs
- moz added ColorPicker right after our AboutTranslationsParent deletion and comment so merge confused
- toolkit/modules/ActorManagerParent.sys.mjs
-
BB 31740: Remove some unnecessary RemoteSettings instances
- services/settings/dumps/main/moz.build
- they'd deleted a few lines in our bigger delete
- services/settings/dumps/main/moz.build
-
BB 26345: Hide tracking protection UI
- browser/components/preferences/privacy.inc.xhtml
- both commits edited a same line adding a field
- browser/components/preferences/privacy.inc.xhtml
-
BB 42777: Hide Website Privacy Preferences.
- browser/components/preferences/privacy.inc.xhtml
- both commits edited a same line adding a field
- browser/components/preferences/privacy.inc.xhtml
-
BB 43850: Modify the Contrast Control settings for RFP
- TODO: Make an issue to reimplement
- browser/components/preferences/main.inc.xhtml
-
1fe14f9c
- main.inc.xhtml
- add <description id="contrastSettingsFixedColorsDescription
- add <html:span
- main.js
- bumped down to ln 4630
- a ton of code modifying the form to our need
- main.inc.xhtml
-
https://github.com/mozilla-firefox/firefox/commit/93542558b721f7e818509e598c210fd1e1a9bbd7#diff-40dd2349b68282f52a0ea12387df3ba9cb8c7d6a3f4095ec7f3b9e87fd0c372b
- moved contrast control out of main.inx.xhml into "config based prefs" in browser/components/preferences/main.js
-
BB 41369: Improve Firefox language settings for multi-lingual packages
- browser/base/content/browser-main.js: we both added import lines, put ours first
-
BB 31575: Disable Firefox Home (Activity Stream)
- browser/components/moz.build
- added "multilineeditor" above where we deleted "newtab"
- browser/components/moz.build
-
BB 4234: Use the Firefox Update Process for Base Browser.
- toolkit/mozapps/extensions/AddonManager.sys.mjs
- swapped MOZ_COMPATIBILITY_NIGHTLY for AppConstants.NIGHTLY_BUILD just below code added by us
- toolkit/mozapps/extensions/AddonManager.sys.mjs
-
BB 42061: Create an alpha update channel.
- toolkit/mozapps/extensions/test/xpcshell/head_addons.js
- we added "alpha" to now deleted
isNightlyChannel()
- we added "alpha" to now deleted
- toolkit/mozapps/extensions/test/xpcshell/head_addons.js
-
BB 40926: Implemented the New Identity feature
- browser/components/moz.build
- our add of
"newidentity"and their add ofmultilineeditor
- our add of
- browser/components/moz.build
-
TB 43564: Modify ./mach bootstrap for Tor Browser
- python/mozboot/mozboot/bootstrap.py
- same as "BB 43564: Modify ./mach bootstrap for Base Browser", indentation change
- python/mozboot/mozboot/bootstrap.py
-
TB 41089: Add tor-browser build scripts + Makefile to tor-browser
- .gitignore
- moz added .claude and .json.gz colliding with out adding .binaries
- .gitignore
-
TB 43107: Disable remoting by default
- toolkit/xre/nsAppRunner.cpp
- moz changed the lines above to (MOZ_CONSTINIT to constinit), unrealted to us
- toolkit/xre/nsAppRunner.cpp
-
TB 8324: Prevent DNS proxy bypasses caused by Drag&Drop
- toolkit/modules/moz.build
- moz added their own "MOZ_SRC_FILES += ["" with 3 files where we added it with "DragDropFilter.sys"
- toolkit/modules/moz.build
-
TB 30237: Add v3 onion services client authentication prompt
- browser/components/preferences/privacy.inc.xhtml
- collision on changes around
- TODO: authPreferences.inc.xhtml probably needs modernizing to what ever <html:setting-group is
- toolkit/content/aboutNetError.html
- collision on adding new .ftl files
- browser/components/preferences/privacy.inc.xhtml
-
TB 40458: Implement .tor.onion aliases
- browser/components/BrowserComponents.manifest
- collision in line above our change updated
- browser/components/BrowserComponents.manifest
-
[android] Modify add-on support
- mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt
- verifyUrl() call changed to
val redirectURL = SupportUtils.WHATS_NEW_URL.toUri() verifyUrl(redirectURL.authority?.removePrefix("www.") + redirectURL.encodedPath)- [ ] bea confirm our simple one is still fine?
- verifyUrl() call changed to
- mobile/android/fenix/app/src/main/res/values/preference_keys.xml
- collision both adding at same spot
- mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt
-
[android] Disable features and functionality
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/middleware/SearchMiddleware.kt
- value we null changed
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/FenixApplication.kt
- initializeGlean -> maybeInitializeGlean and minor changes around our exit if telem is not enabled
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt
- moz changed code we noop
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
- moz deleted featureflagx3, one switch from default to defaultValue
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/middleware/SearchMiddleware.kt
-
[android] Rename as Tor Browser
- mobile/android/android-components/components/compose/browser-toolbar/src/main/res/values/dimens.xml
- doesn't seem to be in this MR? took theirs
- mobile/android/android-components/components/compose/browser-toolbar/src/main/res/values/dimens.xml
<<<<<<< HEAD:mobile/android/android-components/components/compose/browser-toolbar/src/main/res/values/dimens.xml
<resources>
<dimen name="mozac_minimal_display_toolbar_height">32dp</dimen>
</resources>
=======
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:drawable="@drawable/ic_launcher_foreground"
android:width="192dp"
android:height="192dp"
android:gravity="center" />
</layer-list>
>>>>>>> a40b223797145 ([android] Rename as Tor Browser):mobile/android/fenix/app/src/main/res/drawable/splash_screen.xml
-
[android] Rename as Tor Browser (continued)
- mobile/android/fenix/app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt
- they changed to repository.selectedAppIcon.iconForegroundId,
- TODO: clairehurst, was this for the new selectable icons in which case we'd want to restore, or ok to override?
- they changed to repository.selectedAppIcon.iconForegroundId,
- mobile/android/fenix/app/src/main/res/layout/search_widget_extra_small_v1.xml
- they changed their drawable name
- mobile/android/fenix/app/src/main/res/layout/search_widget_extra_small_v2.xml
- they changed their drawable name
- mobile/android/fenix/app/src/main/res/values-v27/styles.xml
- deleted "style name="SplashScreen" in "Bug 2006007 - Add splash screen support for Android 8.0. r=android-reviewers,kaya"
- mobile/android/fenix/app/src/main/res/values/styles.xml
- moz changed "windowSplashScreenAnimatedIcon" and "windowSplashScreenBackground" in "Bug 1899405 - Disable splash screen animation. r=android-reviewers,kaya" https://github.com/mozilla-firefox/firefox/commit/7df21e38f01c5af446d8ac1de12a567ff3dcdfa4#diff-9ca4ad87fb0d54fc874ab97680bf8df203d72c62eb4d53f68740a9dee25048a8
- TODO clairehurst please review
- mobile/android/fenix/app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt
-
[android] Override settings
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
- deleted featureFlag x 5 , value to defaultValue x 2
- shouldShowOnboarding changed so much our attempt to preserve some structure didnt seem worth it, now just "return false"
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
-
TB 34403 [android]: Disable Normal mode by default
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/search/ApplicationSearchMiddleware.kt
-
context: MiddlewareContext<BrowserState, BrowserAction>,- TB changes to
middlewareContext: MiddlewareContext<BrowserState, BrowserAction>, - moz changes to
store: Store<BrowserState, BrowserAction>,
- TB changes to
- below they change loadSearchEngines(context.store) to
storeand we change tomiddlewareContext.store - so using that in both places and hoping it works
- TODO confirm
-
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/search/ApplicationSearchMiddleware.kt
-
[android] Modify UI/UX
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/about/AboutFragment.kt
- PRIVATE_NOTICE to PRIVACY_NOTICE in commented out section
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/about/AboutFragment.kt
-
TB 44027 [android]: Update PBM lockscreen
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
- featureFlag was dropped
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
-
TB 40041 [android]: Implement Tor Network Settings
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
- both adding new pref
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
-
[android] Delete unused media
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/experiments/view/ResearchSurfaceSurvey.kt
- some change around our delete
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyCompleted.kt
- changed import by our add
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/account/
- changed the drawlable we replace
- mobile/android/fenix/app/src/main/res/xml/preferences.xml
- changed the drawlable we replace
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/experiments/view/ResearchSurfaceSurvey.kt
-
TB 42669: [android] Use custom no-op app-services
- mobile/android/android-components/plugins/dependencies/src/main/java/ApplicationServices.kt
- changing our verision and channel
- mobile/android/android-components/plugins/dependencies/src/main/java/ApplicationServices.kt