summaryrefslogtreecommitdiffstats
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
commit3e0351aa49be56434df121d9b4d9f283c422a670 (patch)
tree66e587490ddf75684fa3657486e99b56a8db8626 /modules
parentb094b135956829a293dd409eefa39f2912434fd9 (diff)
downloadUXP-3e0351aa49be56434df121d9b4d9f283c422a670.tar
UXP-3e0351aa49be56434df121d9b4d9f283c422a670.tar.gz
UXP-3e0351aa49be56434df121d9b4d9f283c422a670.tar.lz
UXP-3e0351aa49be56434df121d9b4d9f283c422a670.tar.xz
UXP-3e0351aa49be56434df121d9b4d9f283c422a670.zip
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 72eb8524e..729512407 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);