mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
[WebExAM] Follow up to 351cf2703
This commit is contained in:
parent
cad3295cf4
commit
e25be6c404
1 changed files with 4 additions and 4 deletions
|
|
@ -452,10 +452,7 @@ function parseRDFManifest(aId, aUpdateKey, aRequest, aManifestData) {
|
|||
* @throws if the update manifest is invalid in any way
|
||||
*/
|
||||
function parseJSONManifest(aId, aUpdateKey, aRequest, aManifestData) {
|
||||
#ifndef MOZ_PHOENIX
|
||||
throw Components.Exception("This application does not support JSON update manifests");
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_PHOENIX
|
||||
if (aUpdateKey)
|
||||
throw Components.Exception("Update keys are not supported for JSON update manifests");
|
||||
|
||||
|
|
@ -560,6 +557,9 @@ function parseJSONManifest(aId, aUpdateKey, aRequest, aManifestData) {
|
|||
results.push(result);
|
||||
}
|
||||
return results;
|
||||
#else
|
||||
throw Components.Exception("This application does not support JSON update manifests");
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue