Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2023-06-26 10:38:35 +08:00
commit 4fae28f059
973 changed files with 232026 additions and 6 deletions

View file

@ -4210,7 +4210,11 @@ pref("image.decode-immediately.enabled", false);
pref("image.downscale-during-decode.enabled", true);
// The default Accept header sent for images loaded over HTTP(S)
#ifdef MOZ_JXL
pref("image.http.accept", "image/webp,image/jxl,image/png,image/*;q=0.8,*/*;q=0.5");
#else
pref("image.http.accept", "image/webp,image/png,image/*;q=0.8,*/*;q=0.5");
#endif
// The threshold for inferring that changes to an <img> element's |src|
// attribute by JavaScript represent an animation, in milliseconds. If the |src|
@ -4270,6 +4274,10 @@ pref("image.multithreaded_decoding.limit", -1);
// Whether we attempt to decode WebP images or not.
pref("image.webp.enabled", true);
#ifdef MOZ_JXL
pref("image.jxl.enabled", true);
#endif
// Limit for the canvas image cache. 0 means we don't limit the size of the
// cache.
pref("canvas.image.cache.limit", 0);