Bug 1918659 - Remove nsIClearDataService.CLEAR_SESSION_HISTORY. r=smaug,pbz,sessionstore-reviewers,sfoster

Other than in one test, we don't use it separate from CLEAR_HISTORY.

They are two different bits because in the past one bit could only have
one cleaner associated to it, but that is no longer an issue.

Differential Revision: https://phabricator.services.mozilla.com/D222107
This commit is contained in:
Emilio Cobos Álvarez
2024-09-16 14:12:21 +00:00
parent cba26b26d7
commit 5e05eb6892
6 changed files with 11 additions and 18 deletions

View File

@@ -11,8 +11,7 @@
add_task(async function test_sanitize() {
let testFlags = [
["downloads", Ci.nsIClearDataService.CLEAR_DOWNLOADS],
["places history", Ci.nsIClearDataService.CLEAR_HISTORY],
["session history", Ci.nsIClearDataService.CLEAR_SESSION_HISTORY],
["history", Ci.nsIClearDataService.CLEAR_HISTORY],
];
await withFullyLoadedAboutHome(async browser => {