Add canvas data poisoning option.

Tag #61.
This commit is contained in:
wolfbeast 2017-09-27 11:06:31 +02:00 committed by Roy Tam
commit 2dc214fa3b
2 changed files with 63 additions and 14 deletions

View file

@ -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.