diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/libpref/init/all.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 0a92c6d17..321299822 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4397,7 +4397,7 @@ pref("image.decode-immediately.enabled", false); pref("image.downscale-during-decode.enabled", true); // The default Accept header sent for images loaded over HTTP(S) -pref("image.http.accept", "*/*"); +pref("image.http.accept", "image/webp,image/png,image/*;q=0.8,*/*;q=0.5"); // The threshold for inferring that changes to an <img> element's |src| // attribute by JavaScript represent an animation, in milliseconds. If the |src| @@ -4445,6 +4445,9 @@ pref("image.mem.surfacecache.discard_factor", 1); // automatically determined based on the system's number of cores. pref("image.multithreaded_decoding.limit", -1); +// Whether we attempt to decode WebP images or not. +pref("image.webp.enabled", true); + // Limit for the canvas image cache. 0 means we don't limit the size of the // cache. pref("canvas.image.cache.limit", 0); |