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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/resources/xml-small-chunks.cgi

Issue 521363002: Make XHR use the background HTML parser (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: register before finish Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/xmlhttprequest/resources/xml-small-chunks.cgi
diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/xml-small-chunks.cgi b/LayoutTests/http/tests/xmlhttprequest/resources/xml-small-chunks.cgi
new file mode 100755
index 0000000000000000000000000000000000000000..dfeab9381860548f0e150db8e4e67d1d13f98fa6
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/resources/xml-small-chunks.cgi
@@ -0,0 +1,15 @@
+#!/usr/bin/perl
+
+use IO::Socket;
+
+$| = 1;
+
+autoflush STDOUT 1;
+
+print "Content-Type: text/xml; charset=utf-8\n\n";
+
+print '<?xml version="1.0" encoding="UTF-8"?>';
+for (my $i = 0; $i < 5; $i++) {
+ print "<test></test>";
+ sleep 1;
+}

Powered by Google App Engine
This is Rietveld 408576698