fix: Allow building without legacy/unnecessary AutoConfig functionality

Signed-off-by: celenity <celenity@celenity.dev>
This commit is contained in:
celenity
2025-04-29 00:20:56 -04:00
parent ad5d91b988
commit 58c3a8b606
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/mobile/android/installer/package-manifest.in b/mobile/android/installer/package-manifest.in
index 0f4327c41a..0fcbed2855 100644
--- a/mobile/android/installer/package-manifest.in
+++ b/mobile/android/installer/package-manifest.in
@@ -123,7 +123,6 @@
@BINPATH@/*/greprefs.js
@BINPATH@/@PREF_DIR@/*/geckoview-prefs.js
#endif # !MOZ_ANDROID_FAT_AAR_ARCHITECTURES
-@BINPATH@/defaults/autoconfig/prefcalls.js
; [Layout Engine Resources]
; Style Sheets, Graphics and other Resources used by the layout engine.

View File

@@ -343,6 +343,13 @@ patches:
effect: "Prevents users from accidentally leaving remote debugging enabled."
category: "Security"
- file: "remove-autoconfig-dependency.patch"
name: "Remove the Mozilla AutoConfig build dependency"
description: "Removes Mozilla's AutoConfig functionality in Firefox (also known as Mission Control Desktop, debuted in Netscape Communicator 4.5... https://www.internetnews.com/enterprise/netscape-unveils-enterprise-management-tools/)."
reason: "To unbreak builds with the '--disable-pref-extensions' argument (which removes this functionality)."
effect: "Reduces attack surface and legacy code."
category: "Security"
- file: "domain-highlighting-and-alignment.patch"
name: "Add domain highlighting and alignment"
description: "Adds domain highlighting and alignment in the toolbar."