summaryrefslogtreecommitdiffstats
path: root/modules/libpref
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-06-12 17:23:28 +0300
committerwolfbeast <mcwerewolf@gmail.com>2018-06-12 22:31:20 +0200
commit7336eef241d22d4420b270bb5aa7e5692251455d (patch)
tree9602902044888d700e00be6c8884ed1c6243121f /modules/libpref
parent9d5f6da70b8351773ea6f1f207a50f7d87ca2be4 (diff)
downloadUXP-7336eef241d22d4420b270bb5aa7e5692251455d.tar
UXP-7336eef241d22d4420b270bb5aa7e5692251455d.tar.gz
UXP-7336eef241d22d4420b270bb5aa7e5692251455d.tar.lz
UXP-7336eef241d22d4420b270bb5aa7e5692251455d.tar.xz
UXP-7336eef241d22d4420b270bb5aa7e5692251455d.zip
Disable WebP decoder until memory leak is resolved
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index b128c0b49..3985461f1 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/webp,image/png,image/*;q=0.8,*/*;q=0.5");
+pref("image.http.accept", "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", true);
+pref("image.webp.enabled", false);
// Limit for the canvas image cache. 0 means we don't limit the size of the
// cache.