зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1000315 - Part 6: Add capability for tests to skip uninstallation prompt. r=sicking
This commit is contained in:
Родитель
f1f8c2ebb6
Коммит
fb8f844459
|
@ -1077,6 +1077,10 @@ SpecialPowersAPI.prototype = {
|
|||
this.pushPrefEnv({set: [['dom.mozApps.auto_confirm_install', true]]}, cb);
|
||||
},
|
||||
|
||||
autoConfirmAppUninstall: function(cb) {
|
||||
this.pushPrefEnv({set: [['dom.mozApps.auto_confirm_uninstall', true]]}, cb);
|
||||
},
|
||||
|
||||
// Allow tests to disable the per platform app validity checks so we can
|
||||
// test higher level WebApp functionality without full platform support.
|
||||
setAllAppsLaunchable: function(launchable) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче