Description of the issue:
The Brave Browser seems to ignore setting the
willReadFrequently option of a canvas context.
According to the MDM Compatibility Page, Chrome has support for this, but it appears Brave hasn’t implemented it.
Steps to Reproduce (add as many as necessary):
- Write code using the Canvas API with the
- Make frequent reads and see that the warning arises
Warnings are given saying that the
willReadFrequently should be set to
The PhaserJS code the browser is reading, with the
willReadFrequently set to
true (on line 23,625):
The warnings, saying the value should be set to
The browser should correctly set
willReadFrequently, meaning no warnings are raised.
Reproduces how often:
100% of the time.
Operating System and Brave Version(See the
About Brave page in the main menu):
OS: MacOS Montery 12.6.1
Brave Version: 1.46.133 Chromium: 108.0.5359.71 (Official Build) (arm64)
I noticed this bug during development of a PhaserJS game, which is why its their code shown and not mine. I can share my usage of the library if needed.
The site wouldn’t let me add a bug tag so added macos instead.