2010-08-02 Martin Robinson <mrobinson@igalia.com>
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2010 01:48:07 +0000 (01:48 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2010 01:48:07 +0000 (01:48 +0000)
        [GTK] Use GdkPixbuf for ImageBuffer::toDataURL
        https://bugs.webkit.org/show_bug.cgi?id=43088

        Rebaseline some tests after r64506.

        * platform/gtk/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt:
        * platform/gtk/fast/canvas/toDataURL-supportedTypes-expected.txt: Copied from LayoutTests/platform/qt/fast/canvas/toDataURL-supportedTypes-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64521 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/gtk/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt
LayoutTests/platform/gtk/fast/canvas/toDataURL-supportedTypes-expected.txt [new file with mode: 0644]

index 3d42215..16978be 100644 (file)
@@ -1,3 +1,13 @@
+2010-08-02  Martin Robinson  <mrobinson@igalia.com>
+
+        [GTK] Use GdkPixbuf for ImageBuffer::toDataURL
+        https://bugs.webkit.org/show_bug.cgi?id=43088
+
+        Rebaseline some tests after r64506.
+
+        * platform/gtk/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt:
+        * platform/gtk/fast/canvas/toDataURL-supportedTypes-expected.txt: Copied from LayoutTests/platform/qt/fast/canvas/toDataURL-supportedTypes-expected.txt.
+
 2010-08-02  Andrew Wilson  <atwilson@chromium.org>
 
         Unreviewed text expectations changes for Chromium.
index 36494b4..38b5101 100644 (file)
@@ -6,6 +6,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 PASS tryMimeType('image/png') is 'image/png'
 PASS tryMimeType('iMAge/Png') is 'image/png'
 PASS tryMimeType('IMAGE/PNG') is 'image/png'
+PASS tryMimeType('image/jpeg') is 'image/jpeg'
+PASS tryMimeType('imAgE/jPEg') is 'image/jpeg'
+PASS tryMimeType('IMAGE/JPEG') is 'image/jpeg'
 PASS successfullyParsed is true
 
 TEST COMPLETE
diff --git a/LayoutTests/platform/gtk/fast/canvas/toDataURL-supportedTypes-expected.txt b/LayoutTests/platform/gtk/fast/canvas/toDataURL-supportedTypes-expected.txt
new file mode 100644 (file)
index 0000000..1db3bb9
--- /dev/null
@@ -0,0 +1,30 @@
+ The Actual Canvas 
+Given MIMEType: image/png
+Used MIMEType: image/png
+MIME types are the SAME.
+
+Given MIMEType: image/jpeg
+Used MIMEType: image/jpeg
+MIME types are the SAME.
+
+Given MIMEType: image/gif
+Used MIMEType: image/png
+MIME types DIFFER.
+
+Given MIMEType: 
+Used MIMEType: image/png
+MIME types DIFFER.
+
+Given MIMEType: null
+Used MIMEType: image/png
+MIME types DIFFER.
+
+Given MIMEType: undefined
+Used MIMEType: image/png
+MIME types DIFFER.
+
+Given MIMEType: image/x-webkitbitmap
+Used MIMEType: image/png
+MIME types DIFFER.
+
+