Bug 1036648 - Reject promise on uninstall failure on Mac. r=myk

This commit is contained in:
Marco Castelluccio 2014-07-10 19:22:10 +02:00
parent 72e6e0214b
commit 1021e2a017

View File

@ -342,7 +342,7 @@ this.WebappOSUtils = {
if (aResult == Cr.NS_OK) {
deferred.resolve(true);
} else {
deferred.resolve("Error moving the app to the Trash: " + aResult);
deferred.reject("Error moving the app to the Trash: " + aResult);
}
});