Title: [251182] trunk
- Revision
- 251182
- Author
- clo...@igalia.com
- Date
- 2019-10-16 02:00:55 -0700 (Wed, 16 Oct 2019)
Log Message
image/apng not recognized in source tag
https://bugs.webkit.org/show_bug.cgi?id=202785
Reviewed by Dean Jackson.
Source/WebCore:
Add image/apng as supported mime type for images on Mac/iOS and
on all the other platforms that enable apng support.
This fixes the test imported/w3c/web-platform-tests/apng/supported-in-source-type.html
* platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::supportedImageMIMETypes):
LayoutTests:
* TestExpectations: Remove test imported/w3c/web-platform-tests/apng/supported-in-source-type.html
from the list of expected failures.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (251181 => 251182)
--- trunk/LayoutTests/ChangeLog 2019-10-16 07:36:24 UTC (rev 251181)
+++ trunk/LayoutTests/ChangeLog 2019-10-16 09:00:55 UTC (rev 251182)
@@ -1,3 +1,13 @@
+2019-10-15 Carlos Alberto Lopez Perez <clo...@igalia.com>
+
+ image/apng not recognized in source tag
+ https://bugs.webkit.org/show_bug.cgi?id=202785
+
+ Reviewed by Dean Jackson.
+
+ * TestExpectations: Remove test imported/w3c/web-platform-tests/apng/supported-in-source-type.html
+ from the list of expected failures.
+
2019-10-15 Kate Cheney <katherine_che...@apple.com>
REGRESSION (~244100) [Mac WK2 Debug] Layout Test http/tests/resourceLoadStatistics/prune-statistics.html is a flaky failure (197285)
Modified: trunk/LayoutTests/TestExpectations (251181 => 251182)
--- trunk/LayoutTests/TestExpectations 2019-10-16 07:36:24 UTC (rev 251181)
+++ trunk/LayoutTests/TestExpectations 2019-10-16 09:00:55 UTC (rev 251182)
@@ -3882,5 +3882,3 @@
webkit.org/b/200208 imported/w3c/web-platform-tests/css/css-images/gradients-with-transparent.html [ ImageOnlyFailure ]
webkit.org/b/200209 imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-radial.html [ ImageOnlyFailure ]
webkit.org/b/202813 imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html [ ImageOnlyFailure ]
-
-webkit.org/b/202785 imported/w3c/web-platform-tests/apng/supported-in-source-type.html [ Failure ]
Modified: trunk/Source/WebCore/ChangeLog (251181 => 251182)
--- trunk/Source/WebCore/ChangeLog 2019-10-16 07:36:24 UTC (rev 251181)
+++ trunk/Source/WebCore/ChangeLog 2019-10-16 09:00:55 UTC (rev 251182)
@@ -1,3 +1,18 @@
+2019-10-15 Carlos Alberto Lopez Perez <clo...@igalia.com>
+
+ image/apng not recognized in source tag
+ https://bugs.webkit.org/show_bug.cgi?id=202785
+
+ Reviewed by Dean Jackson.
+
+ Add image/apng as supported mime type for images on Mac/iOS and
+ on all the other platforms that enable apng support.
+
+ This fixes the test imported/w3c/web-platform-tests/apng/supported-in-source-type.html
+
+ * platform/MIMETypeRegistry.cpp:
+ (WebCore::MIMETypeRegistry::supportedImageMIMETypes):
+
2019-10-15 Ryosuke Niwa <rn...@webkit.org>
adoptRef DOMTimer in install instead of its constructor
Modified: trunk/Source/WebCore/platform/MIMETypeRegistry.cpp (251181 => 251182)
--- trunk/Source/WebCore/platform/MIMETypeRegistry.cpp 2019-10-16 07:36:24 UTC (rev 251181)
+++ trunk/Source/WebCore/platform/MIMETypeRegistry.cpp 2019-10-16 09:00:55 UTC (rev 251182)
@@ -75,6 +75,7 @@
"image/jpeg"_s,
"image/vnd.microsoft.icon"_s,
"image/jp2"_s,
+ "image/apng"_s,
"image/png"_s,
"image/bmp"_s,
@@ -135,6 +136,9 @@
"image/vnd.microsoft.icon"_s, // ico
"image/x-icon"_s, // ico
"image/x-xbitmap"_s, // xbm
+#if ENABLE(APNG)
+ "image/apng"_s,
+#endif
#if USE(OPENJPEG)
"image/jp2"_s,
"image/jpeg2000"_s,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes