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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/cors-basic.cgi

Issue 15856002: First step of HTMLImports (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Mac build Created 7 years, 7 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/htmlimports/resources/cors-basic.cgi
diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow.cgi b/LayoutTests/http/tests/htmlimports/resources/cors-basic.cgi
similarity index 60%
copy from LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow.cgi
copy to LayoutTests/http/tests/htmlimports/resources/cors-basic.cgi
index 3479913b07712090ff08ed718291f0ad9e3327b7..68635b78de3ee5042741908d30e7c775b4a27f75 100755
--- a/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow.cgi
+++ b/LayoutTests/http/tests/htmlimports/resources/cors-basic.cgi
@@ -1,8 +1,9 @@
#!/usr/bin/perl -wT
use strict;
-print "Content-Type: text/plain\n";
+print "Content-Type: text/html\n";
print "Access-Control-Allow-Credentials: true\n";
print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n";
-print "PASS: Cross-domain access allowed.\n";
+print "<html><body><h1>Hello, CORS!</h1></body></html>\n";
+
« no previous file with comments | « LayoutTests/http/tests/htmlimports/resources/cookie.cgi ('k') | LayoutTests/http/tests/htmlimports/resources/hello.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698