Files
brave-core/test/data
r0hit0303 c16b4ec7fe [fingerprinting] Handle device info leaks for WebGPU (#36817)
This change scrubs the device related info from GPUAdapterInfo namely vendor, architecture and device.

This change adds a patch to the upstream gpu_adapter.cc to intercept right before the moment we create the gpu adapter info, to scrub out these attributes. It was not possible to do it in gpu_adapter_info.cc as it lacked any context around ExecutionContext which was needed to get the farbling level.

Below are the final behaviour with different farbling levels after this change:

Farbling "off"
- No change in behaviour i.e no scrubbing will occur.
Farbling "balanced" with WebGLBalancedFingerprintingProtection enabled
- Scrub the device related info from GPUAdapterInfo.
Farbling "balanced" with WebGLBalancedFingerprintingProtection disabled
- No change in behaviour i.e no scrubbing will occur.
Farbling "maximum":
- Scrub the device related info from GPUAdapterInfo. Note that this is a new behaviour and not to tied to any feature flag. For maximum farbling it makes sense to have the maximum protection.

Resolves brave/brave-browser#55677
2026-05-29 17:56:20 +01:00
..
2022-10-26 15:33:24 -07:00
2019-04-24 13:27:18 -07:00
2022-06-29 19:11:53 -07:00
2021-06-09 09:37:47 -07:00
2023-05-04 11:17:13 -07:00