From cf52c879088314debe0bcd56d9d8dc56ec06d9a1 Mon Sep 17 00:00:00 2001 From: Nirupam Bhowmick <48842933+heydryft@users.noreply.github.com> Date: Fri, 26 Dec 2025 02:45:46 +0000 Subject: [PATCH] fix: correct fingerprint-injection.patch hunk line count and trailing whitespace - Change hunk header from @@ -625,8 +625,12 @@ to @@ -625,6 +625,13 @@ - Remove trailing whitespace from line 182 --- patches/fingerprint-injection.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/fingerprint-injection.patch b/patches/fingerprint-injection.patch index 4b89b9ba..48fd802f 100644 --- a/patches/fingerprint-injection.patch +++ b/patches/fingerprint-injection.patch @@ -174,12 +174,12 @@ index 8e577bd9fd..3ed748a75f 100644 // Check whether an exception overrides the global cookie behavior // Note that the code for getting the URI here matches that in // nsHTMLDocument::SetCookie. -@@ -625,8 +625,12 @@ bool Navigator::CookieEnabled() { +@@ -625,6 +625,13 @@ bool Navigator::CookieEnabled() { } bool Navigator::OnLine() { + if (auto value = MaskConfig::GetBool("navigator.onLine"); value.has_value()) -+ return value.value(); ++ return value.value(); + if (nsContentUtils::ShouldResistFingerprinting( + GetDocShell(), RFPTarget::NetworkConnection)) { + return true;