81069d3a14d1644efbb6e4ec706e09183513cb57
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / cache / resources / random-cached-iframe.cgi
1 #!/usr/bin/perl -wT
2
3 print "Content-type: text/html\n";
4 print "Cache-control: max-age=60000\n";
5 print "ETag: \"123456789\"\n";
6 print "\n";
7
8 my $random_number = int(rand(1000000000000));
9 print << "END";
10
11 <script>
12 var randomNumber =  $random_number;
13 top.postMessage(randomNumber, "*");
14 </script>
15
16 END