adjust patches

This commit is contained in:
oneflux 2025-04-23 15:01:55 -07:00
parent f70c1e0c11
commit 1b1ea68da6
2 changed files with 3 additions and 5 deletions

View file

@ -35,7 +35,7 @@ index 52f0af76ec..2a7a9ae4fc 100644
double ChromeUtils::DateNow(GlobalObject&) { return JS_Now() / 1000.0; } double ChromeUtils::DateNow(GlobalObject&) { return JS_Now() / 1000.0; }
/* static */ /* static */
@@ -2141,6 +2161,66 @@ void ChromeUtils::GetAllPossibleUtilityActorNames(GlobalObject& aGlobal, @@ -2440,6 +2440,65 @@ void ChromeUtils::GetAllPossibleUtilityActorNames(GlobalObject& aGlobal,
} }
} }
@ -98,7 +98,6 @@ index 52f0af76ec..2a7a9ae4fc 100644
+ aRetVal.Clear(); + aRetVal.Clear();
+} +}
+ +
/* static */ /* static */
bool ChromeUtils::ShouldResistFingerprinting( bool ChromeUtils::ShouldResistFingerprinting(
GlobalObject& aGlobal, JSRFPTarget aTarget, GlobalObject& aGlobal, JSRFPTarget aTarget,
@ -117,7 +116,7 @@ index 138b9c3f80..c7c7ce74bf 100644
static double DateNow(GlobalObject&); static double DateNow(GlobalObject&);
static void EnsureJSOracleStarted(GlobalObject&); static void EnsureJSOracleStarted(GlobalObject&);
@@ -314,6 +318,20 @@ class ChromeUtils { @@ -314,6 +314,20 @@ class ChromeUtils {
static void GetAllPossibleUtilityActorNames(GlobalObject& aGlobal, static void GetAllPossibleUtilityActorNames(GlobalObject& aGlobal,
nsTArray<nsCString>& aNames); nsTArray<nsCString>& aNames);
@ -135,7 +134,6 @@ index 138b9c3f80..c7c7ce74bf 100644
+ static void CamouGetStringList(GlobalObject& aGlobal, const nsAString& aVarName, + static void CamouGetStringList(GlobalObject& aGlobal, const nsAString& aVarName,
+ nsTArray<nsString>& aRetVal); + nsTArray<nsString>& aRetVal);
+ +
static bool ShouldResistFingerprinting( static bool ShouldResistFingerprinting(
GlobalObject& aGlobal, JSRFPTarget aTarget, GlobalObject& aGlobal, JSRFPTarget aTarget,
const Nullable<uint64_t>& aOverriddenFingerprintingSettings); const Nullable<uint64_t>& aOverriddenFingerprintingSettings);

View file

@ -19,7 +19,7 @@ diff --git a/lw/moz.build b/lw/moz.build
index e69de29bb2..208184547e 100644 index e69de29bb2..208184547e 100644
--- a/lw/moz.build --- a/lw/moz.build
+++ b/lw/moz.build +++ b/lw/moz.build
@@ -0,0 +1,14 @@ @@ -0,0 +1,13 @@
+FINAL_TARGET_FILES += [ +FINAL_TARGET_FILES += [
+ "omegafox.cfg", + "omegafox.cfg",
+ "properties.json" + "properties.json"