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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/webfont/slow-ahem-loading.cgi

Issue 1417943005: Fix corrupted LayoutTests/http/tests/resources/Ahem.ttf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make http tests use the fixed file Created 5 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 | « third_party/WebKit/LayoutTests/http/tests/webfont/resources/cookie-match.php ('k') | 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 -wT 1 #!/usr/bin/perl -wT
2 use CGI; 2 use CGI;
3 use Time::HiRes; 3 use Time::HiRes;
4 4
5 my $cgi = new CGI; 5 my $cgi = new CGI;
6 my $delay = $cgi->param('delay'); 6 my $delay = $cgi->param('delay');
7 $delay = 1000 unless $delay; 7 $delay = 1000 unless $delay;
8 8
9 print "Content-type: application/octet-stream\n"; 9 print "Content-type: application/octet-stream\n";
10 print "Cache-control: no-cache, no-store\n\n"; 10 print "Cache-control: no-cache, no-store\n\n";
11 Time::HiRes::sleep($delay / 1000); 11 Time::HiRes::sleep($delay / 1000);
12 open FH, "<../../../resources/Ahem.ttf" or die; 12 open FH, "<../resources/Ahem.ttf" or die;
13 while (<FH>) { print; } 13 while (<FH>) { print; }
14 close FH; 14 close FH;
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/webfont/resources/cookie-match.php ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698