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

Side by Side Diff: LayoutTests/http/tests/cache/resources/random-cached.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/javascript\n"; 3 print "Content-type: text/javascript\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 "top.randomNumber = " . $random_number . ";\n"; 9 print "top.randomNumber = " . $random_number . ";\n";
10 print "top.document.querySelector('h1').textContent = top.randomNumber;"; 10 print "top.document.querySelector('h1').textContent = top.randomNumber;";
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/cache/resources/random.cgi ('k') | LayoutTests/http/tests/cache/resources/random-cached-iframe.cgi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698