зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1192925: Test that system add-ons are marked as un-uninstallable and un-upgradable. r=rhelmer
--HG-- extra : commitid : GCPMXAg0BHU extra : rebase_source : a604758512d1449c506eefd5b07930df040b086e
This commit is contained in:
Родитель
78fde926a3
Коммит
ef437b5ed0
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче