Closed Bug 1825561 Opened 3 years ago Closed 3 years ago

Integrate the resistfingerprinting check with the ETP Toggle.

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox-esr115 116+ fixed
firefox115 --- wontfix
firefox116 --- fixed

People

(Reporter: timhuang, Assigned: tjr)

References

Details

(Whiteboard: [fpp:m4])

Attachments

(6 files, 1 obsolete file)

We want to integrate the resist fingerprinting check with ETP toggle so that disabling ETP protection using ETP toggle will disable fingerprinting protection of the domain.

We need to do the ContentBlockingAllowList check when checking the fingerprinting resistance of the document.

Group: mozilla-employee-confidential
Depends on: 1825616
Assignee: nobody → tom
Status: NEW → ASSIGNED

Depends on D174166

The following patch is waiting for review from an inactive reviewer:

ID Title Author Reviewer Status
D174166 Bug 1825561: Add in the ETP Toggle check to the ShouldRFP callgraph r?timhuang tjr timhuang: Back Apr 10, 2023

:tjr, could you please find another reviewer?

For more information, please visit auto_nag documentation.

Flags: needinfo?(tom)
Flags: needinfo?(tom)
Whiteboard: [fpp:m?]
Whiteboard: [fpp:m?] → [fpp:m5]
Whiteboard: [fpp:m5] → [fpp:m4]
Attachment #9326105 - Attachment is obsolete: true
Depends on: 1835314

This adds the infrastructure for a simpleFPP test into head.js

Then it adds the test for browser_hwconcurrency_etp_iframes.js
that behaves differently from the simpleRFP test.

And then it adds the simpleFPP test to every hardware concurrency
test just to double check things.

Depends on D179108

I had to trial-and-error my way through using BrowserTestUtils
but I think the result is a bit easier to read and understand.
Although the diff is pretty ugly.

Depends on D179249

Pushed by tritter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb7c3fa32d4e Add in the ETP Toggle check to the ShouldRFP callgraph r=timhuang https://hg.mozilla.org/integration/autoland/rev/de3d672cc99f Add a test for the ETP toggle exempting RFP r=timhuang https://hg.mozilla.org/integration/autoland/rev/ab32b5ba8630 Add a test for FPP r=timhuang https://hg.mozilla.org/integration/autoland/rev/dd380d69c705 Refactor the test suite harness to support PBM tests, and add some to the ETP test r=timhuang https://hg.mozilla.org/integration/autoland/rev/3b9eec97301a Add a test case for the weird RFP/FPP combination case r=timhuang

[Tracking Requested - why for this release]: This patchset is not strictly necessary for Tor Browser. However I would like to uplift it to ESR 115 because it significantly changes a bunch of files that will be modified over the lifespan of ESR 115 and it will make rebasing patches much easier for us and/or Tor. Most of the changes are in tests, so it has pretty good test coverage.

Happy to take these, but we're going to need approval requests still.

Flags: needinfo?(tom)
Attachment #9343777 - Flags: approval-mozilla-esr115?

Comment on attachment 9343777 [details]
Bug 1825561: Add in the ETP Toggle check to the ShouldRFP callgraph (ESR) r=timhuang

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: It will make it easier for Tor (and us) to rebase patches onto ESR 115
  • User impact if declined: Tor does more work, (and maybe us too.)
  • Fix Landed on Version:
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Fingerprinting Protection is not enabled in ESR 115. And we have a lot of tests.
Flags: needinfo?(tom)

The ESR 115 Landing Order is Bug 1825561 -> Bug 1835099 -> Bug 1842678

Comment on attachment 9343777 [details]
Bug 1825561: Add in the ETP Toggle check to the ShouldRFP callgraph (ESR) r=timhuang

Approved for 115.1esr.

Attachment #9343777 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+

Verified as fixed on Nightly 117.0a1 - disabling/enabling the ETP toggle disables/enables the fonts and canvas randomization protections - verified on Windows 11, macOS 12, and Ubuntu 22.04.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: