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

Side by Side Diff: LayoutTests/http/tests/security/cross-origin-appcache-allowed.html

Issue 704413010: Deflake LayoutTests/http/tests/security/cross-origin-appcache-allowed.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | no next file » | 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 <head> 2 <head>
3 <script> 3 <script>
4 var frames = 2; 4 var frames = 2;
5 if (window.testRunner) { 5 function runTest()
6 » testRunner.dumpAsText(); 6 {
7 » testRunner.dumpChildFramesAsText(); 7 if (window.testRunner) {
8 » testRunner.waitUntilDone(); 8 testRunner.dumpAsText();
9 } 9 testRunner.dumpChildFramesAsText();
10 window.onmessage = function(message) { 10 testRunner.waitUntilDone();
11 » --frames; 11 }
12 » if (frames <= 0 && window.testRunner) 12 window.onmessage = function(message) {
13 » » testRunner.notifyDone(); 13 --frames;
14 if (frames <= 0 && window.testRunner)
15 testRunner.notifyDone();
16 }
17 document.getElementById('frame1').src = "http://localhost:8000/security/reso urces/cross-origin-iframe-for-appcache-allowed.html";
18 document.getElementById('frame2').src = "http://127.0.0.1:8000/security/reso urces/cross-origin-iframe-for-appcache-allowed.html";
14 } 19 }
15 </script> 20 </script>
16 </head> 21 </head>
17 <body> 22 <body onload="runTest()">
18 <p>This iframe should have a cache:</p> 23 <p>This iframe should have a cache:</p>
19 <iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-ap pcache-allowed.html"></iframe> 24 <iframe id="frame1"></iframe>
20 <p>This iframe should have a cache:</p> 25 <p>This iframe should have a cache:</p>
21 <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-ap pcache-allowed.html"></iframe> 26 <iframe id="frame2"></iframe>
22 </body> 27 </body>
23 </html> 28 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698