mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1219004 - Improve error management in getFullAppByManifestURL r=ferjm
This commit is contained in:
parent
c43a4bf584
commit
a409041ed0
@ -4654,6 +4654,10 @@ this.DOMApplicationRegistry = {
|
||||
}
|
||||
|
||||
return this.getManifestFor(aManifestURL).then((aManifest) => {
|
||||
if (!aManifest) {
|
||||
return Promise.reject("NoManifest");
|
||||
}
|
||||
|
||||
let manifest = aEntryPoint && aManifest.entry_points &&
|
||||
aManifest.entry_points[aEntryPoint]
|
||||
? aManifest.entry_points[aEntryPoint]
|
||||
|
Loading…
Reference in New Issue
Block a user