Open Bug 1538633 Opened 6 years ago Updated 11 months ago

[meta] ClearDataService Unit Test Coverage

Categories

(Toolkit :: Data Sanitization, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: johannh, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: meta, priv-monitor)

Considering the impact on privacy, we should aim for having all data cleaners inside ClearDataService properly unit tested.

The current tests are located here: https://searchfox.org/mozilla-central/source/toolkit/components/cleardata/tests/unit

Currently we only need unit/xpcshell tests, though there may be cases where a browser chrome mochitest is required in the future.

Now a checklist:

  • ☑️ Cookies
  • ☑️ Network Cache
  • ⬜️ Image Cache
  • ⬜️ Plugin Data (sounds hard)
  • ☑️ Downloads
  • ☑️ Passwords
  • ⬜️ Media Devices
  • ⬜️ AppCache
  • ⬜️ DOM/Quota Storage
  • ⬜️ Predictor network data
  • ⬜️ DOM Push Notifications
  • ⬜️ Places History
  • ⬜️ Session History
  • ⬜️ Auth Tokens
  • ⬜️ Auth Cache
  • ☑️ Permissions
  • ☑️ Storage Permission
  • ⬜️ Content Prefs
  • ⬜️ Secure Site Settings
  • ⬜️ EME
  • ⬜️ Reporting API reports

Phew. This will certainly keep us busy.

Depends on: 1532203
Depends on: 1524883
Depends on: 1535577
Depends on: 1610809
Severity: normal → S3
See Also: → 1550317
Keywords: priv-monitor
You need to log in before you can comment on or make changes to this bug.