Open Bug 2013976 Opened 1 month ago Updated 26 days ago

When both CanvasRandomization/WebGLRandomization and EfficientRandomize RFPTargets are used, some randomization code does not run.

Categories

(Core :: Privacy: Anti-Tracking, defect)

Firefox 145
defect

Tracking

()

ASSIGNED

People

(Reporter: any1here, Assigned: any1here, NeedInfo)

Details

Attachments

(1 file)

Steps to reproduce:

Set ETP to Strict, then visit https://arkenfox.github.io/TZP/tests/canvasnoise.html and https://browserleaks.com/webgl.

Actual results:

getImageData is not being randomized on https://arkenfox.github.io/TZP/tests/canvasnoise.html.
WebGL image hash is not being randomized on https://browserleaks.com/webgl.

Expected results:

getImageData and WebGL image hash should show randomized values.

Wasn't sure which version to use, so I used the earliest one where this regression occurred.

The regression was introduced with https://phabricator.services.mozilla.com/D267099 when ImageExtractionResult started returning ImageExtraction::EfficientRandomize, which prevents it from running the code that guards the randomization behind ImageExtraction::Randomize without providing an alternative.

Summary: When both CanvasRandomization and EfficientRandomize RFPTargets are used, some randomization code does not run. → When both CanvasRandomization/WebGLRandomization and EfficientRandomize RFPTargets are used, some randomization code does not run.
Attachment #9541896 - Attachment description: Bug 2013976 - Ensure randomization code runs when both CanvasRandomization and EfficientCanvasRandomization RFPTargets are enabled → Bug 2013976 - Ensure randomization code runs when both CanvasRandomization/WebGLRandomization and EfficientCanvasRandomization RFPTargets are enabled
Flags: needinfo?(tihuang)
Assignee: nobody → any1here
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(tihuang)

I will review this, but am currently on leave, so it might take me a bit to find the time.

Flags: needinfo?(tom)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: