Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: LayoutTests/fast/canvas/toDataURL-supportedTypes.html

Issue 1302423004: Support lossy and lossless <canvas>.toDataURL for webp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/toDataURL-supportedTypes.html
diff --git a/LayoutTests/fast/canvas/toDataURL-supportedTypes.html b/LayoutTests/fast/canvas/toDataURL-supportedTypes.html
index 02475d8e8c74eb362bdd6c2b29fc1cec7c183a35..ea1d1d90e286daa6034a7e10989297c2d791df1f 100644
--- a/LayoutTests/fast/canvas/toDataURL-supportedTypes.html
+++ b/LayoutTests/fast/canvas/toDataURL-supportedTypes.html
@@ -25,7 +25,8 @@
var supportedMIMETypes = [
"image/png",
"image/jpeg",
- "image/gif",
urvang 2015/09/01 19:54:08 Curious: How was "image/gif" working before?
Noel Gordon 2015/09/01 23:20:25 The existing test expectations report: Given MIME
+ "image/webp",
+ "image/webplossless",
];
function testToDataURL()
@@ -41,6 +42,7 @@
testMIMEType(undefined);
// Test other formats that we don't support
+ testMIMEType("image/gif");
testMIMEType("image/x-webkitbitmap");
}

Powered by Google App Engine
This is Rietveld 408576698