Closed Bug 1970921 Opened 8 months ago Closed 7 months ago

Add an end-to-end test for TP allow-list categories

Categories

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

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: emz, Assigned: leoliu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We should add a mochitest browser chrome that tests the different combinations of checkboxes or ETP category and tests that the correct allow-list entries are applied when loading a site with classified (test) trackers.

Here is a test that hooks into remote permissions. This way you could add test-only exception list entries: https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/test/browser/browser_siteSpecificWorkAroundsComplex.js#11
For testing if the tracker loads or not you can check our existing anti-tracking tests.

Assignee: nobody → leliu
Status: NEW → ASSIGNED
Priority: P3 → P2
Depends on: 1970647, 1970646
Attachment #9495289 - Attachment description: WIP: Bug 1970921 - add end-to-end tests for TP allow-list categories r?#anti-tracking! → Bug 1970921 - add end-to-end tests for TP allow-list categories r?#anti-tracking!
Summary: At an end-to-end test for TP allow-list categories → Add an end-to-end test for TP allow-list categories
Attachment #9495289 - Attachment description: Bug 1970921 - add end-to-end tests for TP allow-list categories r?#anti-tracking! → WIP: Bug 1970921 - add end-to-end tests for TP allow-list categories r?#anti-tracking!
Attachment #9495289 - Attachment description: WIP: Bug 1970921 - add end-to-end tests for TP allow-list categories r?#anti-tracking! → Bug 1970921 - add end-to-end tests for TP allow-list categories r?#anti-tracking!

Backed out for causing bc failures @ browser_statePartitioning_strings.js

Flags: needinfo?(leliu)
Attachment #9495289 - Attachment description: Bug 1970921 - add end-to-end tests for TP allow-list categories r?#anti-tracking! → Bug 1970921 - add end-to-end tests for TP allow-list categories

Backed out for causing bc failures @ browser_storageAccessWithDynamicFpi.js

Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 142 Branch → ---
Status: REOPENED → RESOLVED
Closed: 7 months ago7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Flags: needinfo?(leliu)
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: