Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 78cb9d96aa82cb8cfb1ecb6a1275efabfab31fab
https://github.com/WebKit/WebKit/commit/78cb9d96aa82cb8cfb1ecb6a1275efabfab31fab
Author: Said Abou-Hallawa <[email protected]>
Date: 2024-02-02 (Fri, 02 Feb 2024)
Changed paths:
M LayoutTests/fast/images/image-formats-support-expected.txt
M LayoutTests/fast/images/image-formats-support.html
A LayoutTests/fast/images/resources/100x100-red-jp2-renamed.png
A LayoutTests/fast/images/resources/100x100-red.jp2
M Source/WebCore/platform/ImageDecoders.cmake
M Source/WebCore/platform/MIMETypeRegistry.cpp
M Source/WebCore/platform/graphics/cg/UTIRegistry.cpp
M Source/WebCore/platform/image-decoders/ScalableImageDecoder.cpp
R Source/WebCore/platform/image-decoders/jpeg2000/JPEG2000ImageDecoder.cpp
R Source/WebCore/platform/image-decoders/jpeg2000/JPEG2000ImageDecoder.h
M Source/cmake/OptionsGTK.cmake
M Source/cmake/OptionsWPE.cmake
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
A Tools/TestWebKitAPI/Tests/WebKitCocoa/100x100-red.jp2
M Tools/TestWebKitAPI/Tests/WebKitCocoa/AdditionalSupportedImageTypes.mm
M Tools/TestWebKitAPI/Tests/mac/AdditionalSupportedImageTypes.html
M Tools/TestWebKitAPI/Tests/mac/AdditionalSupportedImageTypes.mm
M Tools/gtk/jhbuild.modules
M Tools/wpe/jhbuild.modules
Log Message:
-----------
Remove the support for JPEG2000
https://bugs.webkit.org/show_bug.cgi?id=178758
rdar://35161822
Reviewed by Michael Catanzaro.
Right now, no other browser is supporting JPEG2000. So there's no need for
WebKit
to keep supporting it.
Clients of WebView and WKWebView can still force supporting JPEG2000 through the
private configuration/preference 'additionalSupportedImageTypes'.
* LayoutTests/fast/images/image-formats-support-expected.txt:
* LayoutTests/fast/images/image-formats-support.html:
* LayoutTests/fast/images/resources/100x100-red-jp2-renamed.png: Added.
* LayoutTests/fast/images/resources/100x100-red.jp2: Added.
* Source/WebCore/platform/ImageDecoders.cmake:
* Source/WebCore/platform/MIMETypeRegistry.cpp:
* Source/WebCore/platform/graphics/cg/UTIRegistry.cpp:
(WebCore::defaultSupportedImageTypes):
* Source/WebCore/platform/image-decoders/ScalableImageDecoder.cpp:
(WebCore::ScalableImageDecoder::create):
* Source/WebCore/platform/image-decoders/jpeg2000/JPEG2000ImageDecoder.cpp:
Removed.
* Source/WebCore/platform/image-decoders/jpeg2000/JPEG2000ImageDecoder.h:
Removed.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/100x100-red.jp2: Added.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/AdditionalSupportedImageTypes.mm:
(TEST):
* Tools/TestWebKitAPI/Tests/mac/AdditionalSupportedImageTypes.html:
* Tools/TestWebKitAPI/Tests/mac/AdditionalSupportedImageTypes.mm:
(TestWebKitAPI::runTest):
(TestWebKitAPI::TEST):
* Tools/gtk/jhbuild.modules:
* Tools/wpe/jhbuild.modules:
Canonical link: https://commits.webkit.org/273978@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes