summaryrefslogtreecommitdiff
path: root/modules
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
commit2dafd3049790e64432b1300b485c8652b4ff97f0 (patch)
treeb54fd74458706e5aad149d01d9dde2b57fd8a2b7 /modules
parent22428512348d6b4fe64e9180e5cf5cd577a67c19 (diff)
downloadaura-central-2dafd3049790e64432b1300b485c8652b4ff97f0.tar.gz
Add canvas data poisoning option.
Tag mcp-graveyard/UXP%61.
Diffstat (limited to 'modules')
-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.