mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 15:17:29 +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
|
* @throws if the update manifest is invalid in any way
|
||||||
*/
|
*/
|
||||||
function parseJSONManifest(aId, aUpdateKey, aRequest, aManifestData) {
|
function parseJSONManifest(aId, aUpdateKey, aRequest, aManifestData) {
|
||||||
#ifndef MOZ_PHOENIX
|
#ifdef MOZ_PHOENIX
|
||||||
throw Components.Exception("This application does not support JSON update manifests");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (aUpdateKey)
|
if (aUpdateKey)
|
||||||
throw Components.Exception("Update keys are not supported for JSON update manifests");
|
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);
|
results.push(result);
|
||||||
}
|
}
|
||||||
return results;
|
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