mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-06-11 01:34:46 -04:00
fix: Allow building without legacy/unnecessary AutoConfig functionality
Signed-off-by: celenity <celenity@celenity.dev>
This commit is contained in:
12
patches/remove-autoconfig-dependency.patch
Normal file
12
patches/remove-autoconfig-dependency.patch
Normal 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.
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user