diff options
author | Moonchild <moonchild@palemoon.org> | 2022-11-08 18:16:29 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-11-08 18:16:29 +0000 |
commit | d14c78b29d5a44679b08682ee5430f494b8e5ce3 (patch) | |
tree | 15fc7635dac3003bd2ddd4b032a080e94ebe09af /uriloader | |
parent | 76e7290c1ab01427baa5f3929656d68ac3c0499e (diff) | |
download | uxp-d14c78b29d5a44679b08682ee5430f494b8e5ce3.tar.gz |
Issue #1769: Ensure MIME type is known in URIloader for jxl
Diffstat (limited to 'uriloader')
-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" }, |