No issue - Explicitly indicate image/apng in Accept: header

This commit is contained in:
Moonchild 2025-05-03 13:49:28 +02:00 • committed by roytam1
commit 055765d101

View file

@ -1503,14 +1503,14 @@ pref("network.http.accept.default", "*/*");
// Top-level navigation should include all non-ubiquitous mime types in front of */* // Top-level navigation should include all non-ubiquitous mime types in front of */*
// including image and video/audio types that are handled top-level. // including image and video/audio types that are handled top-level.
#ifdef MOZ_JXL #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 #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"); 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 #endif
#ifdef MOZ_JXL #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 #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 #endif
pref("network.http.accept.style", "text/css,*/*;q=0.1"); pref("network.http.accept.style", "text/css,*/*;q=0.1");