Expected Behavior
Blocks like "touching color" should function properly and consistently in all browsers.
Actual Behavior
Apparently, Brave slightly randomizes the pixel values returned from getImageData
. Since getImageData
is used both to upload textures to the GPU and for Silhouette
s, this could result in pixel color values being slightly different in Brave, which may cause extremely color-sensitive operations (like "touching color") to randomly return different results across different browser sessions.
If this does turn out to be a problem, I'm not sure what can be done other than advising users to disable Brave's anti-fingerprinting in the Scratch FAQ, if this particular feature can even be disabled.
Steps to Reproduce
None yet. Testing is needed to see if this is an actual problem.
Operating System and Browser
Brave (possibly nightly)