diff --git a/patches/fingerprint-injection.patch b/patches/fingerprint-injection.patch index fef4fc3f..73c54fa4 100644 --- a/patches/fingerprint-injection.patch +++ b/patches/fingerprint-injection.patch @@ -382,9 +382,9 @@ index 4bd1e0c964..a5a95d3fdf 100644 #include "mozilla/GeckoBindings.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/DocumentInlines.h" -@@ -40,6 +41,10 @@ NS_IMPL_CYCLE_COLLECTION_INHERITED(nsScreen, DOMEventTargetHelper, +@@ -40,6 +41,10 @@ mScreenOrientation) - + int32_t nsScreen::PixelDepth() { + if (auto value = MaskConfig::GetUint32("screen.colorDepth")) + return value.value(); diff --git a/patches/font-hijacker.patch b/patches/font-hijacker.patch index 35e8a952..8fa732ed 100644 --- a/patches/font-hijacker.patch +++ b/patches/font-hijacker.patch @@ -126,8 +126,8 @@ index 70c06609e9..66b2666621 100644 class FontFace; -@@ -35,6 +37,20 @@ class UTF8StringOrArrayBufferOrArrayBufferView; - +@@ -35,6 +37,20 @@ + namespace mozilla::dom { +// Helper function to check if a font is in the allowed list diff --git a/patches/geolocation-spoofing.patch b/patches/geolocation-spoofing.patch index f6c3c60e..273b14c2 100644 --- a/patches/geolocation-spoofing.patch +++ b/patches/geolocation-spoofing.patch @@ -73,15 +73,13 @@ diff --git a/dom/geolocation/moz.build b/dom/geolocation/moz.build index 2d6b6b5fab..0c7ed74c6d 100644 --- a/dom/geolocation/moz.build +++ b/dom/geolocation/moz.build -@@ -81,6 +81,9 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": +@@ -81,3 +81,6 @@ if CONFIG["MOZ_ENABLE_DBUS"]: LOCAL_INCLUDES += ["/dom/system/linux"] CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"] + +# DOM Mask +LOCAL_INCLUDES += ["/camoucfg"] -+ -+FINAL_LIBRARY = "xul" diff --git a/dom/system/NetworkGeolocationProvider.sys.mjs b/dom/system/NetworkGeolocationProvider.sys.mjs index 7edc62b4a6..19b77aa6b6 100644 diff --git a/patches/playwright/0-playwright.patch b/patches/playwright/0-playwright.patch index d94727e7..1e2fdb1e 100644 --- a/patches/playwright/0-playwright.patch +++ b/patches/playwright/0-playwright.patch @@ -16,7 +16,7 @@ diff --git a/accessible/xpcom/xpcAccessibleDocument.cpp b/accessible/xpcom/xpcAc index 3229ee415b93b9a47d7d40605ed7b509744c94ad..c2cc38ded257a02de8922312057892bf9d0cad7b 100644 --- a/accessible/xpcom/xpcAccessibleDocument.cpp +++ b/accessible/xpcom/xpcAccessibleDocument.cpp -@@ -151,6 +151,13 @@ xpcAccessibleDocument::GetBrowsingContext( +@@ -151,6 +151,13 @@ return NS_OK; } diff --git a/patches/roverfox/font-fingerprinting.context.patch b/patches/roverfox/font-fingerprinting.context.patch index 3d45f506..cd146fa5 100644 --- a/patches/roverfox/font-fingerprinting.context.patch +++ b/patches/roverfox/font-fingerprinting.context.patch @@ -520,7 +520,7 @@ index 403fe3fabe..dae1655f29 100644 #include "mozilla/dom/FontFaceSetImpl.h" #include "mozilla/dom/FontFaceSet.h" #include "mozilla/dom/HTMLCanvasElement.h" -@@ -4526,10 +4527,20 @@ struct MOZ_STACK_CLASS CanvasBidiProcessor final +@@ -4526,10 +4527,20 @@ } else { flags &= ~gfx::ShapedTextFlags::TEXT_IS_RTL; } diff --git a/patches/roverfox/webrtc-ip.context.patch b/patches/roverfox/webrtc-ip.context.patch index 72bd8cc3..732a0680 100644 --- a/patches/roverfox/webrtc-ip.context.patch +++ b/patches/roverfox/webrtc-ip.context.patch @@ -388,7 +388,7 @@ index 605f8bbb9f..83755fd8d5 100644 +#include "WebRTCIPManager.h" #include "nsDocShell.h" #include "mozilla/OriginAttributes.h" -@@ -7531,6 +7532,126 @@ void nsGlobalWindowInner::SetFontSpacingSeed(uint32_t seed, ErrorResult& aRv) { +@@ -7531,6 +7532,126 @@ } } diff --git a/patches/voice-spoofing.patch b/patches/voice-spoofing.patch index 0cb627c2..d2e7e3e2 100644 --- a/patches/voice-spoofing.patch +++ b/patches/voice-spoofing.patch @@ -23,7 +23,7 @@ index e5a1353d6b..4a4a5b080b 100644 namespace mozilla::dom { -@@ -169,6 +171,20 @@ nsSynthVoiceRegistry* nsSynthVoiceRegistry::GetInstance() { +@@ -169,6 +171,20 @@ // Start up all speech synth services. NS_CreateServicesFromCategory(NS_SPEECH_SYNTH_STARTED, nullptr, NS_SPEECH_SYNTH_STARTED); diff --git a/patches/webgl-spoofing.patch b/patches/webgl-spoofing.patch index d16c2e96..aa266346 100644 --- a/patches/webgl-spoofing.patch +++ b/patches/webgl-spoofing.patch @@ -308,7 +308,7 @@ index a1e5c4792d..be99491bf8 100644 JS::Rooted arr(cx); if (!dom::ToJSValue(cx, src.data(), src.size(), &arr)) { rv = NS_ERROR_OUT_OF_MEMORY; -@@ -3091,8 +3103,26 @@ ClientWebGLContext::GetShaderPrecisionFormat(const GLenum shadertype, +@@ -3091,8 +3103,26 @@ const FuncScope funcScope(*this, "getShaderPrecisionFormat"); if (IsContextLost()) return nullptr; diff --git a/patches/webrtc-ip-spoofing.patch b/patches/webrtc-ip-spoofing.patch index a04f3785..d25e7586 100644 --- a/patches/webrtc-ip-spoofing.patch +++ b/patches/webrtc-ip-spoofing.patch @@ -10,7 +10,7 @@ index 235d5dde8f..d0102a6746 100644 #include "nsContentUtils.h" #include "nsDOMJSUtils.h" #include "nsGlobalWindowInner.h" -@@ -1582,7 +1584,15 @@ PeerConnectionImpl::SetLocalDescription(int32_t aAction, const char* aSDP) { +@@ -1582,7 +1584,15 @@ } };