Closed Bug 1746646 (tcp-mochitests) Opened 4 years ago Closed 3 years ago

[meta] Make mochitests work with TCP enabled (cookieBehavior = 5)

Categories

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

task

Tracking

()

RESOLVED FIXED
Tracking Status
firefox97 --- affected

People

(Reporter: ethan, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: meta)

Currently, all the mochitests are running with ETP (Enhanced Tracking Protection).
If we switch the protection mode from ETP to TCP for automation tests, ~60 mochitests would fail when TCP is enabled.

We believe most or even all these failures were caused because the test behaviors do not comply with TCP's assumption about storage (i.e. storage should be partitioned). It means these failures do not represent malfunction in the product code.
However, we need to make all the tests compatible with TCP to guarantee the product quality before shipping TCP to Firefox Release users.

Notes:

  • network.cookie.cookieBehavior = 4 -> ETP (Enhanced Tracking Protection)
  • network.cookie.cookieBehavior = 5 -> TCP (Total Cookie Protection), aka dFPI
  • The file mozilla-central/testing/profiles/mochitest/user.js overwrites the default value of the cookieBehavior pref.
Alias: tcp-mochitests
Assignee: nobody → tihuang
Severity: -- → N/A
Status: NEW → ASSIGNED
Keywords: meta
Priority: -- → P2
Depends on: 1749995
Depends on: 1750000
Depends on: 1750002
Depends on: 1750003
Depends on: 1750006
Depends on: 1750007
Depends on: 1750008
Depends on: 1750009
Depends on: 1750012
Depends on: 1750013
Depends on: 1750014
Depends on: 1750016
Depends on: 1750018
Depends on: 1750021
Depends on: 1750022
Depends on: 1750023
Depends on: 1750024
Depends on: 1750025
Depends on: 1750027
Depends on: 1750202
Depends on: 1753229
Depends on: 1753231
Depends on: 1753586
Depends on: 1753949
Depends on: 1753970
Depends on: 1754814
Depends on: 1754955
Depends on: 1755021

Unassign from a meta bug.

Assignee: tihuang → nobody
Status: ASSIGNED → NEW

Since the project is complete, can we close this bug?

Flags: needinfo?(tihuang)

Close this bug because this is completed.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(tihuang)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.