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

Side by Side Diff: LayoutTests/loader/data-uri-images-load-when-loading-images-automatically-disabled.html

Issue 355043002: Fix loading of data: URI images wrt loadsImagesAutomatically setting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Now correctly Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/loader/data-uri-images-load-when-loading-images-automatically-disabled-expected.txt » ('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 <html>
3 <body>
4 data:uri images should load if loadsImagesAutomatically is disabled<br/>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 if (window.internals)
9 internals.settings.setLoadsImagesAutomatically(false);
10 </script>
11 This test verifies that data: uri images are loaded regardless of loadsImagesA utomatically setting value.
12 On success, the image must be loaded, and &quot;PASS&quot; message printed.
13 FAIL
14 <img onload="document.write('PASS')" src="data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnklEQVR42u3QMQEAAA gDoGlyo1vBzwciUJlw1ApkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5YsWb JkKZAlS5YsWbIUyJIlS5YsWQpkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5 YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyfq2MosBSIeKONMAAAAASUVORK5CYII=">
15 </body>
16 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/loader/data-uri-images-load-when-loading-images-automatically-disabled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698