mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 966988 - Fix bug 959420 in webapps actor getManifestFor usage. r=paul
This commit is contained in:
parent
caa19883fd
commit
d17c3302d4
@ -565,12 +565,10 @@ WebappsActor.prototype = {
|
||||
}
|
||||
|
||||
if (this._isAppAllowedForManifest(app.manifestURL)) {
|
||||
let deferred = promise.defer();
|
||||
reg.getManifestFor(manifestURL, function (manifest) {
|
||||
return reg.getManifestFor(manifestURL).then(function (manifest) {
|
||||
app.manifest = manifest;
|
||||
deferred.resolve({app: app});
|
||||
return {app: app};
|
||||
});
|
||||
return deferred.promise;
|
||||
}
|
||||
return { error: "forbidden" };
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user