Index: LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js b/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js |
index 3de13e3db6f1bec81bbedf1dcdc1c9313067b650..1630b6d520335a2742bc2c41bf67304728cae370 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js |
@@ -20,3 +20,13 @@ if (tryMimeType("image/jpeg") == "image/jpeg") { |
shouldBe("tryMimeType('imAgE/jPEg')", "'image/jpeg'"); |
shouldBe("tryMimeType('IMAGE/JPEG')", "'image/jpeg'"); |
} |
+ |
+if (tryMimeType("image/webp") == "image/webp") { |
+ shouldBe("tryMimeType('image/webp')", "'image/webp'"); |
+ shouldBe("tryMimeType('imAgE/wEBp')", "'image/webp'"); |
+ shouldBe("tryMimeType('IMAGE/WEBP')", "'image/webp'"); |
+ |
+ shouldBe("tryMimeType('image/webp.ll')", "'image/webp'"); |
+ shouldBe("tryMimeType('imAgE/wEBp.Ll')", "'image/webp'"); |
+ shouldBe("tryMimeType('IMAGE/WEBP.LL')", "'image/webp'"); |
+} |