Bug 1000315 - Part 6: Add capability for tests to skip uninstallation prompt. r=sicking

This commit is contained in:
Ted Clancy (:tedders1) 2014-06-11 14:37:03 -07:00
Родитель f1f8c2ebb6
Коммит fb8f844459
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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) {