diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-13 14:42:55 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-13 14:42:55 +0200 |
commit | 27a19a14646f23194ecfe87530dd8d1d5b25fa57 (patch) | |
tree | 14b857ef2d94d86de5e9172f31f287aed95ea398 /modules | |
parent | 05e8038c08e76c021564c0e8e91e6f73aff8b795 (diff) | |
download | UXP-27a19a14646f23194ecfe87530dd8d1d5b25fa57.tar UXP-27a19a14646f23194ecfe87530dd8d1d5b25fa57.tar.gz UXP-27a19a14646f23194ecfe87530dd8d1d5b25fa57.tar.lz UXP-27a19a14646f23194ecfe87530dd8d1d5b25fa57.tar.xz UXP-27a19a14646f23194ecfe87530dd8d1d5b25fa57.zip |
Revert "Disable WebP decoder until memory leak is resolved"
This reverts commit 7336eef241d22d4420b270bb5aa7e5692251455d.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/libpref/init/all.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 3985461f1..b128c0b49 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4331,7 +4331,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", "image/png,image/*;q=0.8,*/*;q=0.5"); +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| @@ -4380,7 +4380,7 @@ pref("image.mem.surfacecache.discard_factor", 1); pref("image.multithreaded_decoding.limit", -1); // Whether we attempt to decode WebP images or not. -pref("image.webp.enabled", false); +pref("image.webp.enabled", true); // Limit for the canvas image cache. 0 means we don't limit the size of the // cache. |