Bug 877932 - Check if the app is locally installed in the checkInstalled function. r=fabrice

This commit is contained in:
Marco Castelluccio 2013-09-13 08:07:04 -04:00
parent 7c1de55fca
commit e946a1a741

View File

@ -2938,7 +2938,8 @@ this.DOMApplicationRegistry = {
let tmp = [];
for (let appId in this.webapps) {
if (this.webapps[appId].manifestURL == aData.manifestURL) {
if (this.webapps[appId].manifestURL == aData.manifestURL &&
this._isLaunchable(this.webapps[appId])) {
aData.app = AppsUtils.cloneAppObject(this.webapps[appId]);
tmp.push({ id: appId });
break;