Results 230 comments of Carl

Related: https://bugzilla.mozilla.org/show_bug.cgi?id=1428034 **Edit:** I have added the WebGL image hash to the fingerprinting mitigations page: https://www.bromite.org/detect

I have found that even if both WebGL and WebGL2 use `ReadPixelsHelper`, the poorly documented `WebGL2ComputeRenderingContext` does not use that function when providing `readPixels`. I am saying "poorly documented" because...

Flags for turning off WebGL have been added, see #411; they are not disabled by default in Bromite. > this could provoke a raise in the uniqueness of your fingerprint...

> tell me if it can work and how can I improve it. I see you have added this [here](https://github.com/uazo/bromite/blob/next/v99/build/patches/Add-site-settings-for-webgl.patch). Only problem I see is that this leads to: 1....

> > I see you have added this [here](https://github.com/uazo/bromite/blob/next/v99/build/patches/Add-site-settings-for-webgl.patch). > > yes, attention that [this](https://github.com/uazo/bromite/blob/next/v99/build/patches/Content-settings-infrastructure.patch) is also needed I am not adding any of these patches until further discussion happens....

> > but it will have one for webpages that render many frames per second. > > which? Try any website which does high frequency updates, for example a game.

If you find a device which is not so powerful, it will have an impact. For the canvas we have a function per pixel type so we should do the...

Yes: see https://github.com/bromite/bromite/blob/master/build/patches/Multiple-fingerprinting-mitigations.patch#L513 There is a case switch for every pixel format type. The WebGL version should do the same to avoid the double conversion.

> yes I had seen that function, but from what I have seen not all modes are managed and maybe it should be revised: > > [ImageData::GetSkPixmap()](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/canvas/image_data.cc;l=349;drc=e2cba64c183ae17816143ee344e6f7c81451555a;bpv=1;bpt=1) [enum SkColorType](https://source.chromium.org/chromium/chromium/src/+/main:third_party/skia/include/core/SkImageInfo.h;drc=e2cba64c183ae17816143ee344e6f7c81451555a;bpv=1;bpt=1;l=64) Time...

> > Time to add more pixel modes then. > > reading the modalities seems extremely complex to me, in the meantime we are exposed, correct? There is nothing exposed,...