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

Side by Side Diff: LayoutTests/http/tests/incremental/slow-utf8-html.pl

Issue 135583003: checkpoint Blink-side work to use Apache on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: new rollup patch 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
OLDNEW
1 #!/usr/bin/perl -w 1 #!/usr/bin/perl -wT
2 2
3 # flush the buffers after each print 3 # flush the buffers after each print
4 select (STDOUT); 4 select (STDOUT);
5 $| = 1; 5 $| = 1;
6 6
7 print "Content-Type: text/html\n"; 7 print "Content-Type: text/html\n";
8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n"; 8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n";
9 print "Cache-Control: no-store, no-cache, must-revalidate\n"; 9 print "Cache-Control: no-store, no-cache, must-revalidate\n";
10 print "Pragma: no-cache\n"; 10 print "Pragma: no-cache\n";
11 print "\n"; 11 print "\n";
12 12
13 print "\xef\xbb\xbf<body><p>Test for bug 10697: Errors in incremental decoding o f UTF-8.</p>\n"; 13 print "\xef\xbb\xbf<body><p>Test for bug 10697: Errors in incremental decoding o f UTF-8.</p>\n";
14 print "<p>Should be a blank page (except for this description).</p>\n"; 14 print "<p>Should be a blank page (except for this description).</p>\n";
15 print "<script>\n"; 15 print "<script>\n";
16 print "if (window.testRunner)\n"; 16 print "if (window.testRunner)\n";
17 print " testRunner.dumpAsText();\n"; 17 print " testRunner.dumpAsText();\n";
18 print "</script>\n"; 18 print "</script>\n";
19 19
20 # U+2003 = UTF-8 E28083 = EM SPACE 20 # U+2003 = UTF-8 E28083 = EM SPACE
21 print "\xe2"; 21 print "\xe2";
22 for ($count=1; $count<4000; $count++) { 22 for ($count=1; $count<4000; $count++) {
23 print "\x80\x83\xe2"; 23 print "\x80\x83\xe2";
24 } 24 }
25 print "\x80"; 25 print "\x80";
26 for ($count=1; $count<4000; $count++) { 26 for ($count=1; $count<4000; $count++) {
27 print "\x83\xe2\x80"; 27 print "\x83\xe2\x80";
28 } 28 }
29 print "\x83"; 29 print "\x83";
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/incremental/resources/slow-utf8-css.pl ('k') | LayoutTests/http/tests/incremental/slow-utf8-text.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698