diff options
-rw-r--r-- | uriloader/exthandler/nsExternalHelperAppService.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp index 8c70622ced..698090718f 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -425,6 +425,9 @@ static const nsDefaultMimeTypeEntry defaultMimeEntries[] = { TEXT_CSS, "css" }, { IMAGE_JPEG, "jpeg" }, { IMAGE_JPEG, "jpg" }, +#ifdef MOZ_JXL + { IMAGE_JXL, "jxl" }, +#endif { IMAGE_SVG_XML, "svg" }, { TEXT_HTML, "html" }, { TEXT_HTML, "htm" }, @@ -497,6 +500,9 @@ static const nsExtraMimeTypeEntry extraMimeEntries[] = { IMAGE_GIF, "gif", "GIF Image" }, { IMAGE_ICO, "ico,cur", "ICO Image" }, { IMAGE_JPEG, "jpeg,jpg,jfif,pjpeg,pjp", "JPEG Image" }, +#ifdef MOZ_JXL + { IMAGE_JXL, "jxl", "JPEG-XL Image" }, +#endif { IMAGE_PNG, "png", "PNG Image" }, { IMAGE_APNG, "apng", "APNG Image" }, { IMAGE_TIFF, "tiff,tif", "TIFF Image" }, |