Closed Bug 1750000 Opened 2 years ago Closed 2 years ago

Make tests in devtools/client/test/ dFPI compatible

Categories

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

task

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: timhuang, Assigned: bvandersloot)

References

Details

(Whiteboard: [fxatps-dFPI-Mochitests])

Attachments

(1 file)

Convert following tests to be dFPI compatible

  • devtools/client/storage/test/browser_storage_cookies_navigation.js
  • devtools/client/storage/test/browser_storage_fission_cache.js
Priority: -- → P2
Assignee: nobody → bvandersloot

We are fixing mochitests that fail when network.cookie.cookieBehavior = 5, i.e. when we enable Total Cookie Protection.
This is most often due to the test assuming that an origin will always have access to its storage state when embedded as
a third party.

My approach: Add third-party storage permission for the net domain when included on the com domain.
This allows the cache for the net domain to be shared in the way that this test is expecting.

Pushed by bvandersloot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/55c55024c193
Make tests in devtools/client/test/ dFPI compatible, r=jdescottes,anti-tracking-reviewers,timhuang
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: