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

Side by Side Diff: LayoutTests/fast/dom/HTMLLinkElement/link-and-subresource-test.html

Issue 302063002: Always preload all tokens before parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix another flaky tests Created 6 years, 6 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/fast/dom/HTMLLinkElement/link-and-subresource-test-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
1 <html> 1 <html>
2 <body> 2 <body>
3 <script> 3 <script>
4 function log(message) 4 function log(message)
5 { 5 {
6 var item = document.createElement("li"); 6 var item = document.createElement("li");
7 item.appendChild(document.createTextNode(message)); 7 item.appendChild(document.createTextNode(message));
8 document.getElementById("console").appendChild(item); 8 document.getElementById("console").appendChild(item);
9 } 9 }
10 10
(...skipping 13 matching lines...) Expand all
24 testRunner.waitUntilDone(); 24 testRunner.waitUntilDone();
25 testRunner.dumpAsText(); 25 testRunner.dumpAsText();
26 testRunner.dumpResourceResponseMIMETypes(); 26 testRunner.dumpResourceResponseMIMETypes();
27 } 27 }
28 </script> 28 </script>
29 <p>This test verifies that an image which is prefetched, and which is also conta ined as a 29 <p>This test verifies that an image which is prefetched, and which is also conta ined as a
30 subresource of the current document can be loaded correctly as a subresource. S ee 30 subresource of the current document can be loaded correctly as a subresource. S ee
31 bug 49236 in which this wasn't working. 31 bug 49236 in which this wasn't working.
32 <p>When this test succeeds, you'll see an image of Nick on a sailboat immediatel y below 32 <p>When this test succeeds, you'll see an image of Nick on a sailboat immediatel y below
33 this text. When this test fails, you will see no images at all. 33 this text. When this test fails, you will see no images at all.
34 <p>This test shows 3 loads of nick.jpg even though from the source it looks like there
35 should only be 2. crbug.com/379893
34 <link rel="prefetch" href="resources/nick.jpg" onload="nick_onload()" /> 36 <link rel="prefetch" href="resources/nick.jpg" onload="nick_onload()" />
35 <img src="resources/nick.jpg" onload="nick_onload()" /> 37 <img src="resources/nick.jpg" onload="nick_onload()" />
36 <hr> 38 <hr>
37 <p><ol id="console"></ol></p> 39 <p><ol id="console"></ol></p>
38 </body></html> 40 </body></html>
39 41
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLLinkElement/link-and-subresource-test-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698