зеркало из https://github.com/mozilla/gecko-dev.git
Bug 877932 - Check if the app is locally installed in the checkInstalled function. r=fabrice
This commit is contained in:
Родитель
581becbfca
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче