Files
sousa-gecko/browser/components/tests/unit/xpcshell.toml
T
Emma Zuehlcke 8ea362e9a6 Bug 1767271 - Migrate existing cookie ALLOW exceptions to persist-data-on-shutdown. r=firefox-desktop-core-reviewers ,bvandersloot,Gijs
Existing users have set clear-on-shutdown exceptions via the old "cookie"
permission. After the permission split, those records no longer exempt a
site from shutdown clearing. To preserve user expectations across the
upgrade, bump APP_DATA_VERSION to 176 and duplicate each cookie ALLOW
permission as a persist-data-on-shutdown ALLOW.

DENY is not duplicated (irrelevant to persistence). SESSION is not
duplicated either: its "clear on shutdown" intent is preserved by the
SESSION-wins-over-exception branch in the Sanitizer, so making it an
exception too would be wrong.

The xpcshell test verifies the three capabilities behave as described and
that re-running the migration is idempotent.

Differential Revision: https://phabricator.services.mozilla.com/D302838
2026-06-17 13:59:41 +00:00

54 lines
1.2 KiB
TOML

[DEFAULT]
run-if = [
"os != 'android'",
]
head = "head.js"
firefox-appdir = "browser"
support-files = ["distribution.ini"]
["test_browserGlue_migration_ctrltab_recently_used_order.js"]
["test_browserGlue_migration_formautofill.js"]
["test_browserGlue_migration_no_errors.js"]
["test_browserGlue_migration_osauth.js"]
skip-if = [
"os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'", # Bug 1973344
]
["test_browserGlue_migration_places_xulstore.js"]
["test_browserGlue_migration_removeABAPerms.js"]
["test_browserGlue_migration_removeContentBlockerPerms.js"]
["test_browserGlue_migration_remove_pref.js"]
["test_browserGlue_migration_resetDefaults.js"]
["test_browserGlue_migration_reset_tracking_table.js"]
["test_distribution.js"]
["test_distribution_cachedexistence.js"]
["test_distribution_mozillaonline.js"]
["test_distribution_observer.js"]
["test_profileDataUpgrade_duplicateCookiePerms.js"]
["test_profileDataUpgrade_smartwindow.js"]
["test_profileDataUpgrade_smartwindow_semanticHistory.js"]
["test_startupTelemetry_aiControlBlocking.js"]
["test_startupTelemetry_launchMethod.js"]
run-if = [
"os == 'win'",
]
["test_startupTelemetry_launchOnLoginState.js"]