mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 58f71d9d0de7 (bug 1191579) for various webapp/webide test failures across different suites.
This commit is contained in:
parent
15d3f22d2d
commit
bddf09f679
@ -4335,6 +4335,27 @@ this.DOMApplicationRegistry = {
|
||||
});
|
||||
},
|
||||
|
||||
getAll: function(aCallback) {
|
||||
debug("getAll");
|
||||
let apps = [];
|
||||
let tmp = [];
|
||||
|
||||
for (let id in this.webapps) {
|
||||
let app = AppsUtils.cloneAppObject(this.webapps[id]);
|
||||
if (!this._isLaunchable(app))
|
||||
continue;
|
||||
|
||||
apps.push(app);
|
||||
tmp.push({ id: id });
|
||||
}
|
||||
|
||||
this._readManifests(tmp).then((aResult) => {
|
||||
for (let i = 0; i < aResult.length; i++)
|
||||
apps[i].manifest = aResult[i].manifest;
|
||||
aCallback(apps);
|
||||
});
|
||||
},
|
||||
|
||||
/* Check if |data| is actually a receipt */
|
||||
isReceipt: function(data) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user