Description of the issue:
HTMLCanvasElement.toDataURL(), HTMLCanvasElement.toBlob() return an error when fingerprinting protection is enabled.
Steps to Reproduce (add as many as necessary):
1. Launch Brave Mobile and enable fingerprinting protection
2. Visit https://cryptosmileee.github.io/canvasTest/, then press the button
3. Now the canvas data should appear under the button.
Actual Result (gifs and screenshots are welcome!):
Expected Result:
Reproduces how often:
Always
Brave Version(See the About Brave page in the main menu):
Brave 1.0.99, Chromium 75.0.3770.101
Reproducible on current live release (yes/no):
Yes
Additional information:
Simon here from Publish0x.com. We are very big Brave fans Unfortunately we have a problem with the canvas features, but we need them for cropping images. It only seems to be a problem with Brave Mobile when fingerprinting protection is enabled.
Enclosed once again the demo for testing: https://cryptosmileee.github.io/canvasTest/