webgl: add randomization to readPixels
see planned 1917607 Introduce random noises to WebGLRenderingContext::readPixels()
-
We haven't applied the random noises to the
WebGLRenderingContext::readPixels()
when fingerprinting protection is enabled. However, we have applied the noises to other functions that extract data from a WebGL context.
This currently for FPP, not RFP (the random seed is per session/id .. per eTLD+1 etc.). But two things
- "we have applied the noises to other functions that extract data from a WebGL context"
- what does this means: can someone explain cc @tjr
-
WebGLRenderingContext::readPixels()
we currently do nothing when it is enabled/clickToPlay
We should hook RFP into this and maybe unblock readPixels, see #42082