mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 877932 - Check if the app is locally installed in the checkInstalled function. r=fabrice
This commit is contained in:
parent
581becbfca
commit
ea34b59b52
@ -2943,7 +2943,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user