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

Side by Side Diff: LayoutTests/fast/images/image-from-data-uri-with-invalid-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: Rebase and addressed #3 Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
3 Check that we accept an invalid data URI such as one with an incomplete
4 mediatype (only top-level type without a slash and subtype) or one
5 including illegal character (e.g. backshlash) for backward compatibility.
6 -->
7 <img src="data:image;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElE QVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==">
8 <img src="data:image\png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAA HElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==">
9 <script>
10 if (window.testRunner)
11 testRunner.dumpAsTextWithPixelResults();
12 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698