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

Side by Side Diff: LayoutTests/http/tests/cache/resources/random-cached-iframe.cgi

Issue 155173003: checkpoint unix version of apache win32 patch. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: re-daemonize apache on unix Created 6 years, 10 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
OLDNEW
1 #!/usr/bin/perl -w 1 #!/usr/bin/perl -wT
2 2
3 print "Content-type: text/html\n"; 3 print "Content-type: text/html\n";
4 print "Cache-control: max-age=60000\n"; 4 print "Cache-control: max-age=60000\n";
5 print "ETag: \"123456789\"\n"; 5 print "ETag: \"123456789\"\n";
6 print "\n"; 6 print "\n";
7 7
8 my $random_number = int(rand(1000000000000)); 8 my $random_number = int(rand(1000000000000));
9 print << "END"; 9 print << "END";
10 10
11 <script> 11 <script>
12 var randomNumber = $random_number; 12 var randomNumber = $random_number;
13 top.postMessage(randomNumber, "*"); 13 top.postMessage(randomNumber, "*");
14 </script> 14 </script>
15 15
16 END 16 END
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/cache/resources/random-cached.cgi ('k') | LayoutTests/http/tests/cache/resources/random-max-age.cgi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698