Chromium Code Reviews| Index: LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype.html |
| diff --git a/LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype.html b/LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7dfb6edd176a8d4eb215a2fa09c4226f2e71861e |
| --- /dev/null |
| +++ b/LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype.html |
| @@ -0,0 +1,11 @@ |
| +<!DOCTYPE html> |
| +<!-- |
| + Check that we accept a data URI with an incomplete mediatype (only |
| + top-level type. without a slash and subtype) for backward compatibility. |
|
hiroshige
2014/10/06 08:43:08
Does this description corresponds only to media ty
tyoshino (SeeGerritForStatus)
2014/10/16 09:27:54
Good point. Updated to explain both.
|
| + --> |
| +<img src="data:image;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="> |
| +<img src="data:image\png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsTextWithPixelResults(); |
| +</script> |