summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init/all.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-09-27 11:06:31 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-02 19:38:38 +0100
commit8d29182cf055a03b37475f65a70b6abf321f96d9 (patch)
treeb54fd74458706e5aad149d01d9dde2b57fd8a2b7 /modules/libpref/init/all.js
parent100db2d197aac98e3e9e0f59e4cbe7d902373cba (diff)
downloadUXP-8d29182cf055a03b37475f65a70b6abf321f96d9.tar
UXP-8d29182cf055a03b37475f65a70b6abf321f96d9.tar.gz
UXP-8d29182cf055a03b37475f65a70b6abf321f96d9.tar.lz
UXP-8d29182cf055a03b37475f65a70b6abf321f96d9.tar.xz
UXP-8d29182cf055a03b37475f65a70b6abf321f96d9.zip
Add canvas data poisoning option.
Tag #61.
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 62aedead2..d51172f42 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4448,6 +4448,10 @@ pref("image.multithreaded_decoding.limit", -1);
// cache.
pref("canvas.image.cache.limit", 0);
+// Allow track-fobics to deliberately poison canvas data for
+// toDataURL() and getImageData()
+pref("canvas.poisondata", false);
+
// WebGL prefs
#ifdef ANDROID
// Disable MSAA on mobile.