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

Unified Diff: LayoutTests/fast/images/image-from-data-uri-without-mediatype.html

Issue 579673002: Check that an img element with src set to a data URI with an invalid mediatype renders Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add empty mediatype test Created 6 years, 3 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/images/image-from-data-uri-without-mediatype.html
diff --git a/LayoutTests/fast/images/image-from-data-uri-without-mediatype.html b/LayoutTests/fast/images/image-from-data-uri-without-mediatype.html
new file mode 100644
index 0000000000000000000000000000000000000000..ff5faae203f4c373f644954b336beb7cfcfe9b07
--- /dev/null
+++ b/LayoutTests/fast/images/image-from-data-uri-without-mediatype.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<!--
+ Check that we render an image from a data URI without a mediatype.
+ -->
+<img src="data:;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==">
+<script>
+if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+</script>

Powered by Google App Engine
This is Rietveld 408576698