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

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: A better approach 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) {
Nate Chapin 2014/07/01 19:12:43 Nit: No {}
mnaganov (inactive) 2014/07/02 08:39:28 Done.
7 testRunner.dumpAsText();
8 }
9 if (window.internals)
10 internals.settings.setLoadsImagesAutomatically(false);
11 </script>
12 This test verifies that data: uri images are loaded regardless of loadsImagesA utomatically setting value.
13 On success, the image must be loaded, and &quot;PASS&quot; message printed.
14 FAIL
15 <img onload="document.write('PASS')" src="data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnklEQVR42u3QMQEAAA gDoGlyo1vBzwciUJlw1ApkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5YsWb JkKZAlS5YsWbIUyJIlS5YsWQpkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5 YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyfq2MosBSIeKONMAAAAASUVORK5CYII=">
16 </body>
17 </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