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

Side by Side Diff: LayoutTests/http/tests/htmlimports/resources/child-having-domain-policy.cgi

Issue 186803005: [import] Use master document's origin to resolve CORS (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/perl -wT 1 #!/usr/bin/perl -wT
2 use strict; 2 use strict;
3 3
4 print "Content-Type: text/html\n"; 4 print "Content-Type: text/html\n";
5 print "Access-Control-Allow-Credentials: true\n"; 5 print "Access-Control-Allow-Credentials: true\n";
6 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n"; 6 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n";
7 7
8 print <<EOF 8 print <<EOF
9 <!DOCTYPE html> 9 <!DOCTYPE html>
10 <html> 10 <html>
11 <head> 11 <head>
12 <link rel="import" href="having-domain-policy.html"> 12 <link rel="import" href="having-domain-policy.cgi">
13 </head> 13 </head>
14 </html> 14 </html>
15 EOF 15 EOF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698