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

Side by Side Diff: LayoutTests/http/tests/htmlimports/resources/cors-subimports.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
(Empty)
1 #!/usr/bin/perl -wT
2 use strict;
3
4 print "Content-Type: text/html\n";
5 print "Access-Control-Allow-Credentials: true\n";
6 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n";
7
8 print <<EOF
9 <!DOCTYPE html>
10 <link id="sameOriginCors" rel="import" href="cors-basic.cgi?1">
11 <link id="sameOriginNoCors" rel="import" href="resources/hello.html?1">
12 <link id="masterOriginNoCors" rel="import" href="http://127.0.0.1:8000/htmlimpor ts/resources/hello.html?2">
13 <link id="masterOriginCors" rel="import" href="http://127.0.0.1:8000/htmlimports /resources/cors-basic.cgi?2">
14 EOF
15
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/htmlimports/resources/cors-basic.cgi ('k') | Source/core/fetch/FetchRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698