New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Cocoa] Support HEIC/HEIF images for Apple ports #3731
[Cocoa] Support HEIC/HEIF images for Apple ports #3731
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Supporting new patent-encumbered formats in WebKit in 2022 is totally unacceptable. Please do not do this. This is unhealthy for the web, and creates new web compat risk for WebKit ports. |
This patch doesn't indicate whether or not the feature will ship or not; the I'll start a discussion in the WebKit Slack workspace about HEIC on the web with you + a few other interested parties. |
Oh, we shouldn't land this patch yet because tests are failing. |
614d9d6
to
bc7c4e4
Compare
EWS run on previous version of this PR (hash bc7c4e4) |
https://bugs.webkit.org/show_bug.cgi?id=244424 Reviewed by NOBODY (OOPS!). Patch by Said Abou-Hallawa <said@apple.com>. Add the mime type and the UTI of the HEIC/HEIF to the list of the allowed image formats. The system frameworks will be used to render the HEIC/HEIF images on Apple ports. Because of sand-boxing limitations, software decoding has to be used for these images. * Source/WTF/wtf/PlatformHave.h: * Source/WebCore/loader/cache/CachedResourceRequest.cpp: (WebCore::acceptHeaderValueForAVIFImageResource): (WebCore::acceptHeaderValueForHEICImageResource): (WebCore::acceptHeaderValueForImageResource): * Source/WebCore/platform/MIMETypeRegistry.cpp: * Source/WebCore/platform/graphics/cg/UTIRegistry.cpp: (WebCore::defaultSupportedImageTypes): (WebCore::setAdditionalSupportedImageTypes):
bc7c4e4
to
d9e697a
Compare
EWS run on current version of this PR (hash d9e697a) |
Michael has made a convincing argument that this is harmful to the web. Closing as WONTFIX. |
@litherum would you be able to copy the argument from Slack to here or https://bugs.webkit.org/show_bug.cgi?id=244424? |
mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro mcatanzaro The rest of the conversation is basically me complaining about the related topics of H.264, which is still causing serious problems, and H.265, which is absolutely terrifying. I really wish H.265 support would be restricted to native apps only so that websites cannot depend on it. Asides from EME, which we can't do much about, H.265 support in Safari is the biggest threat to non-Safari WebKit right now. |
d9e697a
d9e697a
π§ͺ api-macπ§ͺ mac-AS-debug-wk2