diff --git a/toolkit/mozapps/extensions/test/xpcshell/test_system_reset.js b/toolkit/mozapps/extensions/test/xpcshell/test_system_reset.js index 30a7016a47c4..90fe292a7ac0 100644 --- a/toolkit/mozapps/extensions/test/xpcshell/test_system_reset.js +++ b/toolkit/mozapps/extensions/test/xpcshell/test_system_reset.js @@ -39,6 +39,8 @@ function* check_installed(inProfile, ...versions) { do_check_eq(addon.version, versions[i]); do_check_true(addon.isActive); do_check_false(addon.foreignInstall); + do_check_false(hasFlag(addon.permissions, AddonManager.PERM_CAN_UPGRADE)); + do_check_false(hasFlag(addon.permissions, AddonManager.PERM_CAN_UNINSTALL)); // Verify the add-ons file is in the right place let file = expectedDir.clone();