summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init/all.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-07-24 14:19:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 10:07:20 +0100
commit4662aad03a28a6fa049f2c34ab58069718a229fe (patch)
treebbd0ee67521e3187f1be51ef8a8e21610dd2a674 /modules/libpref/init/all.js
parent9371852bb9f01c3263bb718655fa616c94061979 (diff)
downloadUXP-4662aad03a28a6fa049f2c34ab58069718a229fe.tar
UXP-4662aad03a28a6fa049f2c34ab58069718a229fe.tar.gz
UXP-4662aad03a28a6fa049f2c34ab58069718a229fe.tar.lz
UXP-4662aad03a28a6fa049f2c34ab58069718a229fe.tar.xz
UXP-4662aad03a28a6fa049f2c34ab58069718a229fe.zip
Use proper image http accept header for content negotiation.
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r--modules/libpref/init/all.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 729512407..e1536933a 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4392,7 +4392,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|