RESOLVED FIXED 240843
Re-enable HEIC tests
https://bugs.webkit.org/show_bug.cgi?id=240843
Summary Re-enable HEIC tests
Nikos Mouchtaris
Reported 2022-05-23 17:36:26 PDT
Although we are not supporting HEIC images in web content, we want to re-enable these tests as this process is still being used in Mail/other apps.
Attachments
Patch (8.97 KB, patch)
2022-05-23 18:26 PDT, Nikos Mouchtaris
no flags
Nikos Mouchtaris
Comment 1 2022-05-23 17:49:07 PDT
Nikos Mouchtaris
Comment 2 2022-05-23 18:26:55 PDT
Alexey Proskuryakov
Comment 3 2022-05-23 19:28:30 PDT
Comment on attachment 459694 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459694&action=review > Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:434 > + if (MacApplication::isAppleMail() || CocoaApplication::isWebkitTestRunner()) { What are we trying to achieve with this check? It's not clear to me if this is security sensitive, but anyone can build a "WebKitTestRunner". Maybe a "Mail" too, depending on how the check is implemented. > LayoutTests/platform/mac/TestExpectations:2305 > +[ Catalina+ ] fast/images/animated-heics-draw.html [ Pass ] > +[ Catalina+ ] fast/images/animated-heics-verify.html [ Pass ] > +[ BigSur+ ] fast/images/heic-as-background-image.html [ Pass ] OS version qualifiers are not needed here, Big Sur is the oldest supported OS version.
Nikos Mouchtaris
Comment 4 2022-05-24 11:09:37 PDT
Nikos Mouchtaris
Comment 5 2022-05-24 11:10:31 PDT
(In reply to Alexey Proskuryakov from comment #3) > Comment on attachment 459694 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=459694&action=review > > > Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:434 > > + if (MacApplication::isAppleMail() || CocoaApplication::isWebkitTestRunner()) { > > What are we trying to achieve with this check? It's not clear to me if this > is security sensitive, but anyone can build a "WebKitTestRunner". Maybe a > "Mail" too, depending on how the check is implemented. > This is what allows the tests to decode the HEIC images. This just checks the bundle identifier, which is the same as the mail check. I don't think this would have any security implications, but I will ask Per Arne to review to be sure.
EWS
Comment 6 2022-05-24 14:05:45 PDT
Committed r294764 (250930@main): <https://commits.webkit.org/250930@main> Reviewed commits have been landed. Closing PR #979 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.