Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / xmltokenizer-do-not-crash.pl
blobdf87da2c0e56953f36634edb6c26233fc052dd1f
1 #!/usr/bin/perl -wT
3 # flush the buffers after each print
4 select (STDOUT);
5 $| = 1;
7 print "Content-Type: text/xml\r\n";
8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\r\n";
9 print "Cache-Control: no-store, no-cache, must-revalidate\r\n";
10 print "Pragma: no-cache\r\n";
11 print "\r\n";
13 print "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
14 print "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"pl\">\n";
15 print "<head>\n";
16 print "<script>\n";
17 print "if (window.testRunner) testRunner.dumpAsText();\n";
18 print "</script>";
19 print "</head>\n";
20 print "<body>\n";
21 print "<pre id='msg'></pre>\n";
22 print "<script type='text/javascript' src='resources/script-slow1.pl'></script>\n";
23 sleep 1;
24 print "<script type='text/javascript' src='resources/script-slow2.pl'></script>\n";
25 print "</body></html>\n";