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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/resources/small-chunks.cgi

Issue 731443002: [LayoutTest] Fix xmlhttprequest-responseXML-nopartial flakiness. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« 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 #!/usr/bin/perl 1 #!/usr/bin/perl
2 2
3 use IO::Socket; 3 use IO::Socket;
4 use Time::HiRes qw(sleep);
4 5
5 $| = 1; 6 $| = 1;
6 7
7 autoflush STDOUT 1; 8 autoflush STDOUT 1;
8 9
9 print "Content-Type: text/html; charset=ISO-8859-1\n\n"; 10 print "Content-Type: text/html; charset=ISO-8859-1\n\n";
10 11
11 for (my $i = 0; $i < 5; $i++) { 12 for (my $i = 0; $i < 5; $i++) {
12 print "This is chunk number $i"; 13 print "This is chunk number $i";
13 sleep 1; 14 sleep 0.1;
14 } 15 }
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