mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1192925: Test that system add-ons are marked as un-uninstallable and un-upgradable. r=rhelmer
This commit is contained in:
parent
55b45bac8b
commit
a3e4fc96aa
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user