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..1ab2578b3ebd214fbd196d2a91e7af077759949d 100644 |
--- a/LayoutTests/fast/canvas/toDataURL-supportedTypes.html |
+++ b/LayoutTests/fast/canvas/toDataURL-supportedTypes.html |
@@ -25,22 +25,24 @@ |
var supportedMIMETypes = [ |
"image/png", |
"image/jpeg", |
- "image/gif", |
+ "image/webp", |
+ "image/webp.ll", |
]; |
function testToDataURL() |
{ |
- // Test supported MIME types |
+ // Test supported image formats. |
for (var i in supportedMIMETypes) { |
testMIMEType(supportedMIMETypes[i]); |
} |
- // Test no MIME type |
+ // Test invalid format type arguments. |
testMIMEType(); |
testMIMEType(null); |
testMIMEType(undefined); |
- // Test other formats that we don't support |
+ // Test other formats that we don't support. |
+ testMIMEType("image/gif"); |
testMIMEType("image/x-webkitbitmap"); |
} |