Closed Bug 1917607 Opened 1 year ago Closed 5 months ago

Introduce random noises to WebGLRenderingContext::readPixels() when fingerprinting protection is enabled

Categories

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

task

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: timhuang, Assigned: fkilic)

References

(Blocks 2 open bugs)

Details

Attachments

(8 files, 3 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

Introduce random noises to the WebGLRenderingContext::readPixels() function.

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. We need to make the behavior consistent across these APIs.

also getBufferSubData()

Assignee: nobody → fkilic
Status: NEW → ASSIGNED

The following patches are waiting for review from an inactive reviewer:

ID Title Author Reviewer Status
D223382 Bug 1917607: Spoof pixel data in WebGLRenderingContext::readPixels with ArrayView type/non-pbo. r?tjr fkilic jgilbert: Disabled
D223387 Bug 1917607: Extract GetBufferParameter's lambda to GetBufferParameterImpl. r?tjr fkilic jgilbert: Disabled
D223388 Bug 1917607: Spoof pixel data in ClientWebGLContext::GetBufferSubData for buffer extraction. r?tjr fkilic jgilbert: Disabled
D227965 Bug 1917607: Implement using placeholder in readpixel function. r?tjr fkilic jgilbert: Disabled

:fkilic, could you please find another reviewer or abandon the patch if it is no longer relevant?

For more information, please visit BugBot documentation.

Flags: needinfo?(fkilic)

Changed it to gfx-reviewers

Flags: needinfo?(fkilic)
Attachment #9494172 - Attachment is obsolete: true
Attachment #9426892 - Attachment is obsolete: true

Comment on attachment 9507629 [details]
Bug 1917607 - Force ImageRendering::Auto with stacking context snapshots. r=#gfx-reviewers

Revision D261434 was moved to bug 1983053. Setting attachment 9507629 [details] to obsolete.

Attachment #9507629 - Attachment is obsolete: true
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/88dff89ed3c6 https://hg.mozilla.org/integration/autoland/rev/3790ff1d2acc Revert "Bug 1917607: Add tests for placeholder. r=tjr" for causing bc failures @ browser_resistfingerprinting_readpixels.js

Backed out for causing bc failures @ browser_resistfingerprinting_readpixels

Flags: needinfo?(mozbugzilla)
Flags: needinfo?(mozbugzilla)
QA Whiteboard: [qa-triage-done-c146/b145]
Regressions: 2001160
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: