Title: [87090] trunk
- Revision
- 87090
- Author
- [email protected]
- Date
- 2011-05-23 12:47:53 -0700 (Mon, 23 May 2011)
Log Message
2011-05-23 Adam Barth <[email protected]>
Reviewed by Eric Seidel.
Update ImageDecoder::create to match sniffing spec
https://bugs.webkit.org/show_bug.cgi?id=47683
This test actually passes before this patch anyway. I don't think this
patch is actually observable in any meaningful way.
* fast/images/busted-oval-does-not-render-expected.txt: Added.
* fast/images/busted-oval-does-not-render.html: Added.
* fast/images/resources/busted-oval.png: Added.
2011-05-23 Adam Barth <[email protected]>
Reviewed by Eric Seidel.
Update ImageDecoder::create to match sniffing spec
https://bugs.webkit.org/show_bug.cgi?id=47683
This change is difficult to test. We're making this change to comply
with standards even if the change is difficult to observe. (This patch
also causes us to match Firefox.)
Test: fast/images/busted-oval-does-not-render.html
* platform/image-decoders/ImageDecoder.cpp:
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (87089 => 87090)
--- trunk/LayoutTests/ChangeLog 2011-05-23 19:05:57 UTC (rev 87089)
+++ trunk/LayoutTests/ChangeLog 2011-05-23 19:47:53 UTC (rev 87090)
@@ -1,3 +1,17 @@
+2011-05-23 Adam Barth <[email protected]>
+
+ Reviewed by Eric Seidel.
+
+ Update ImageDecoder::create to match sniffing spec
+ https://bugs.webkit.org/show_bug.cgi?id=47683
+
+ This test actually passes before this patch anyway. I don't think this
+ patch is actually observable in any meaningful way.
+
+ * fast/images/busted-oval-does-not-render-expected.txt: Added.
+ * fast/images/busted-oval-does-not-render.html: Added.
+ * fast/images/resources/busted-oval.png: Added.
+
2011-05-23 Abhishek Arya <[email protected]>
Reviewed by Simon Fraser.
Added: trunk/LayoutTests/fast/images/busted-oval-does-not-render-expected.txt (0 => 87090)
--- trunk/LayoutTests/fast/images/busted-oval-does-not-render-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/images/busted-oval-does-not-render-expected.txt 2011-05-23 19:47:53 UTC (rev 87090)
@@ -0,0 +1,2 @@
+ALERT: PASS
+
Added: trunk/LayoutTests/fast/images/busted-oval-does-not-render.html (0 => 87090)
--- trunk/LayoutTests/fast/images/busted-oval-does-not-render.html (rev 0)
+++ trunk/LayoutTests/fast/images/busted-oval-does-not-render.html 2011-05-23 19:47:53 UTC (rev 87090)
@@ -0,0 +1,5 @@
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<img src="" _onerror_="alert('PASS')">
Added: trunk/LayoutTests/fast/images/resources/busted-oval.png (0 => 87090)
--- trunk/LayoutTests/fast/images/resources/busted-oval.png (rev 0)
+++ trunk/LayoutTests/fast/images/resources/busted-oval.png 2011-05-23 19:47:53 UTC (rev 87090)
@@ -0,0 +1,6 @@
+\x89PNG
+
+
+IHDR % ! \xD1m\xF5B sRGB \xAE\xCE\xE9 gAMA \xB1\x8F\xFCa cHRM z&