diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-03 14:02:24 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-03 14:02:24 +0100 |
commit | 12d04d00acd13a3a0a2c9fff81266cbc2d444ae0 (patch) | |
tree | 6bdc1701a04e4eefb2d0b985ca78f6c53cb845b5 /modules/libpref/init/all.js | |
parent | 8593baeeb599e167e0f1052e269a876a9a9af1ee (diff) | |
parent | fec770afd654ffd8f522b7b2c94043b31fc822cb (diff) | |
download | uxp-12d04d00acd13a3a0a2c9fff81266cbc2d444ae0.tar.gz |
Merge branch 'goanna-gfx'
Diffstat (limited to 'modules/libpref/init/all.js')
-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 0a92c6d17f..321299822c 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); |