LayoutTests:
[WebKit-https.git] / WebCore / ChangeLog
index a49f02cac02ff78a70a7a4c04c822031a8d7ae8d..310d8317fde30cd65ad033675dc8079293d52392 100644 (file)
@@ -1,3 +1,22 @@
+2007-05-25  Mitz Pettel  <mitz@webkit.org>
+
+        Reviewed by Darin.
+
+        - fix http://bugs.webkit.org/show_bug.cgi?id=13767
+          REGRESSION: Multipart image documents are garbled
+
+        Test: http/tests/multipart/invalid-image-data-standalone.html
+
+        * loader/DocumentLoader.cpp:
+        (WebCore::DocumentLoader::isLoadingMultipartContent): Added.
+        * loader/DocumentLoader.h:
+        * loader/ImageDocument.cpp:
+        (WebCore::ImageTokenizer::finish): If the image is multipart, make a copy
+        of the current part instead of using the resource data, which is going to be
+        overwritten by the next part.
+        * loader/MainResourceLoader.h:
+        (WebCore::MainResourceLoader::isLoadingMultipartContent): Added.
+
 2007-05-25  Anders Carlsson  <andersca@apple.com>
 
         Fix no-svg build.
 2007-05-25  Anders Carlsson  <andersca@apple.com>
 
         Fix no-svg build.