From 4844af276c1961b3daa9ec5b5b715b89ebb26511 Mon Sep 17 00:00:00 2001 From: Nirupam Bhowmick <48842933+heydryft@users.noreply.github.com> Date: Mon, 22 Dec 2025 01:44:32 +0000 Subject: [PATCH] fix: correct webgl-spoofing.patch hunk header line counts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed UNMASKED_RENDERER and UNMASKED_VENDOR hunk headers: - UNMASKED_RENDERER: 7→8 old lines, 11→12 new lines - UNMASKED_VENDOR: 6→8 old lines, 10→12 new lines The hunk headers were undercounting context lines. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- patches/webgl-spoofing.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/webgl-spoofing.patch b/patches/webgl-spoofing.patch index af6de473..37c8a19a 100644 --- a/patches/webgl-spoofing.patch +++ b/patches/webgl-spoofing.patch @@ -271,7 +271,7 @@ index a1e5c4792d..be99491bf8 100644 return; } -@@ -2573,7 +2573,11 @@ void ClientWebGLContext::GetParameter(JSContext* cx, GLenum pname, +@@ -2573,8 +2573,12 @@ void ClientWebGLContext::GetParameter(JSContext* cx, GLenum pname, switch (pname) { case dom::WEBGL_debug_renderer_info_Binding::UNMASKED_RENDERER_WEBGL: + if (auto value = MaskConfig::GetString("webGl:renderer")) { @@ -284,7 +284,7 @@ index a1e5c4792d..be99491bf8 100644 ret = GetUnmaskedRenderer(); if (ret && StaticPrefs::webgl_sanitize_unmasked_renderer()) { ret = Some(webgl::SanitizeRenderer(*ret)); -@@ -2584,6 +2588,10 @@ void ClientWebGLContext::GetParameter(JSContext* cx, GLenum pname, +@@ -2584,8 +2588,12 @@ void ClientWebGLContext::GetParameter(JSContext* cx, GLenum pname, break; case dom::WEBGL_debug_renderer_info_Binding::UNMASKED_VENDOR_WEBGL: