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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js

Issue 1937433002: HTML <canvas>: add WEBP lossless encoding support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing. Created 4 years, 8 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: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js
index 3de13e3db6f1bec81bbedf1dcdc1c9313067b650..17d1edd069ce5de28aa2897eb0fa69715423e6e6 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js
+++ b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-toDataURL-case-insensitive-mimetype.js
@@ -20,3 +20,9 @@ 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'");
+}

Powered by Google App Engine
This is Rietveld 408576698