Add a <canvas>-tainting Setting. [2/3]
commit772ce814df6d7da3d78ba48d60c5dd909bd6e1f8
authormkwst <mkwst@chromium.org>
Fri, 16 Jan 2015 13:28:07 +0000 (16 05:28 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 16 Jan 2015 13:29:00 +0000 (16 13:29 +0000)
treebea68bfd0612f0f19217eb9a41dda353efc0595a
parent1760725ac3618fe5d5bd307008477e683377bb30
Add a <canvas>-tainting Setting. [2/3]

This setting will fall under the "potentially annoying security
features" flag; it certainly reduces the ability to use <canvas> for
fingerprinting, and some folks will want to turn it on, but it will
absolutely break significant subsets of the web.

Patch 1 - Blink:    https://codereview.chromium.org/828163005/
Patch 2 - Chromium: [THIS PATCH]
Patch 3 - Blink:    https://codereview.chromium.org/847993002/

BUG=448332
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/853463002

Cr-Commit-Position: refs/heads/master@{#311885}
12 files changed:
chrome/browser/chrome_content_browser_client.cc
content/browser/renderer_host/render_view_host_impl.cc
content/public/common/common_param_traits_macros.h
content/public/common/content_switches.cc
content/public/common/content_switches.h
content/public/common/web_preferences.cc
content/public/common/web_preferences.h
content/renderer/render_view_impl.cc
content/shell/common/test_runner/test_preferences.cc
content/shell/common/test_runner/test_preferences.h
content/shell/common/webkit_test_helpers.cc
content/shell/renderer/test_runner/test_runner.cc