I'd like Webkit to consider supporting WebP images because of the benefits in load-time that developers can take advantage of.
<rdar://problem/8509491>
Created attachment 389221 [details] Patch
Comment on attachment 389221 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=389221&action=review > LayoutTests/platform/mac/TestExpectations:1798 > +[ Catalina+ ] fast/images/animated-webp-as-image.html [ Pass ] Should we have similar expectations for iOS?
Comment on attachment 389221 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=389221&action=review Do we need a canvas image encoding test? > Source/WebCore/platform/MIMETypeRegistry.cpp:86 > + "image/webp"_s, You put this in the "// This represents the subset of allowed image UTIs for which CoreServices has a corresponding MIME type." section. Is that right at this point?
<rdar://problem/59406585>
Created attachment 390592 [details] Patch
Comment on attachment 389221 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=389221&action=review >> Source/WebCore/platform/MIMETypeRegistry.cpp:86 >> + "image/webp"_s, > > You put this in the "// This represents the subset of allowed image UTIs for which CoreServices has a corresponding MIME type." section. Is that right at this point? Yes. #if HAVE(WEBP) is true, CoreServices will have the corresponding MIME type. >> LayoutTests/platform/mac/TestExpectations:1798 >> +[ Catalina+ ] fast/images/animated-webp-as-image.html [ Pass ] > > Should we have similar expectations for iOS? Currently there is no way to specify a passing iOS version on EWS. The test has to be disabled completely and then enabled when EWS has the passing iOS version.
Comment on attachment 390592 [details] Patch Clearing flags on attachment: 390592 Committed r256501: <https://trac.webkit.org/changeset/256501>
All reviewed patches have been landed. Closing bug.
A follow up patch to disable the new layout tests on Catalina: Committed r256526: <https://trac.webkit.org/changeset/256526>