From 055765d1017d6180556a05ca8a9566718d569d8d Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 3 May 2025 13:49:28 +0200 Subject: [PATCH] No issue - Explicitly indicate image/apng in `Accept:` header --- modules/libpref/init/all.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index d82879a3f6..0902ef55f2 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1503,14 +1503,14 @@ pref("network.http.accept.default", "*/*"); // Top-level navigation should include all non-ubiquitous mime types in front of */* // including image and video/audio types that are handled top-level. #ifdef MOZ_JXL -pref("network.http.accept.navigation", "text/html,application/xhtml+xml,application/xml;q=0.9,image/jxl,image/webp,video/x-matroska,video/webm,*/*;q=0.8"); +pref("network.http.accept.navigation", "text/html,application/xhtml+xml,application/xml;q=0.9,image/jxl,image/webp,image/apng,video/x-matroska,video/webm,*/*;q=0.8"); #else pref("network.http.accept.navigation", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,video/x-matroska,video/webm,*/*;q=0.8"); #endif #ifdef MOZ_JXL -pref("network.http.accept.image", "image/jxl,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5"); +pref("network.http.accept.image", "image/jxl,image/webp,image/apng,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5"); #else -pref("network.http.accept.image", "image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5"); +pref("network.http.accept.image", "image/webp,image/apng,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5"); #endif pref("network.http.accept.style", "text/css,*/*;q=0.1");