Bug 1116775 - Handle rejection in WebappManager::doUninstall. r=myk

This commit is contained in:
Marco Castelluccio 2014-12-31 07:41:00 +01:00
parent 86c3ff5a22
commit 33db2f16a1

View File

@ -122,7 +122,7 @@ this.WebappManager = {
// Perform the uninstall if the user allows it
if (choice == 0) {
DOMApplicationRegistry.confirmUninstall(aData).then((aApp) => {
WebappOSUtils.uninstall(aApp);
WebappOSUtils.uninstall(aApp).then(null, Cu.reportError);
});
} else {
DOMApplicationRegistry.denyUninstall(aData);