summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-07-24 13:29:29 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 10:03:50 +0100
commit001fa09964e9121a62bd6150eccf917bd9466091 (patch)
tree66e587490ddf75684fa3657486e99b56a8db8626 /modules
parent3ed6e5d1137074d49e19b5f3385425eb3c7d8fe9 (diff)
downloaduxp-001fa09964e9121a62bd6150eccf917bd9466091.tar.gz
Implement WebP image decoder.
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 72eb8524ee..7295124079 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4440,6 +4440,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);