mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1191579 - Remove useless getAll() implementation in Webapps.jsm
This commit is contained in:
parent
f2074950f0
commit
f2be102242
@ -4335,27 +4335,6 @@ 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 */
|
/* Check if |data| is actually a receipt */
|
||||||
isReceipt: function(data) {
|
isReceipt: function(data) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user