Title: [129488] trunk/LayoutTests
- Revision
- 129488
- Author
- [email protected]
- Date
- 2012-09-25 04:44:35 -0700 (Tue, 25 Sep 2012)
Log Message
[EFL] unskip toDataURL tests
https://bugs.webkit.org/show_bug.cgi?id=97549
Unreviewed EFL gardening.
EFL port only supports "image/png" at the moment but only png is actually required
by spec and not testing required support is bad.
Patch by Jussi Kukkonen <[email protected]> on 2012-09-25
* platform/efl/Skipped:
* platform/efl/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt: Added.
* platform/efl/fast/canvas/toDataURL-supportedTypes-expected.txt: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (129487 => 129488)
--- trunk/LayoutTests/ChangeLog 2012-09-25 11:23:54 UTC (rev 129487)
+++ trunk/LayoutTests/ChangeLog 2012-09-25 11:44:35 UTC (rev 129488)
@@ -1,3 +1,17 @@
+2012-09-25 Jussi Kukkonen <[email protected]>
+
+ [EFL] unskip toDataURL tests
+ https://bugs.webkit.org/show_bug.cgi?id=97549
+
+ Unreviewed EFL gardening.
+
+ EFL port only supports "image/png" at the moment but only png is actually required
+ by spec and not testing required support is bad.
+
+ * platform/efl/Skipped:
+ * platform/efl/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt: Added.
+ * platform/efl/fast/canvas/toDataURL-supportedTypes-expected.txt: Added.
+
2012-09-25 Christophe Dumez <[email protected]>
[WK2][WKTR] TestRunner needs support for setWillSendRequestReturnsNullOnRedirect
Modified: trunk/LayoutTests/platform/efl/Skipped (129487 => 129488)
--- trunk/LayoutTests/platform/efl/Skipped 2012-09-25 11:23:54 UTC (rev 129487)
+++ trunk/LayoutTests/platform/efl/Skipped 2012-09-25 11:44:35 UTC (rev 129488)
@@ -144,10 +144,6 @@
# BUG: no mouseout event being sent
fast/events/mouseout-on-window.html
-# BUG: <canvas>'s toDataURL has problems with non-image/png mimetypes
-fast/canvas/canvas-toDataURL-case-insensitive-mimetype.html
-fast/canvas/toDataURL-supportedTypes.html
-
# BUG: wrong test results that need investigation
compositing/checkerboard.html
compositing/framesets/composited-frame-alignment.html
Added: trunk/LayoutTests/platform/efl/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt (0 => 129488)
--- trunk/LayoutTests/platform/efl/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/efl/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt 2012-09-25 11:44:35 UTC (rev 129488)
@@ -0,0 +1,12 @@
+Test that toDataURL(mimeType) ignores the case of 'mimeType'.
+
+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 successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/efl/fast/canvas/toDataURL-supportedTypes-expected.txt (0 => 129488)
--- trunk/LayoutTests/platform/efl/fast/canvas/toDataURL-supportedTypes-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/efl/fast/canvas/toDataURL-supportedTypes-expected.txt 2012-09-25 11:44:35 UTC (rev 129488)
@@ -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/png
+MIME types DIFFER.
+
+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.
+
+
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes