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

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

Issue 183883004: Let ContentSecurityPolicy shared between imports and the master. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding guardRef()/guardDeref() 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/htmlimports/resources/child-having-domain-policy.cgi
diff --git a/LayoutTests/http/tests/htmlimports/resources/cors-basic.cgi b/LayoutTests/http/tests/htmlimports/resources/child-having-domain-policy.cgi
similarity index 61%
copy from LayoutTests/http/tests/htmlimports/resources/cors-basic.cgi
copy to LayoutTests/http/tests/htmlimports/resources/child-having-domain-policy.cgi
index 68635b78de3ee5042741908d30e7c775b4a27f75..3109d5d47e9b253d25e50d95bd7c95f8c29016c0 100755
--- a/LayoutTests/http/tests/htmlimports/resources/cors-basic.cgi
+++ b/LayoutTests/http/tests/htmlimports/resources/child-having-domain-policy.cgi
@@ -5,5 +5,11 @@ 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 "<html><body><h1>Hello, CORS!</h1></body></html>\n";
-
+print <<EOF
+<!DOCTYPE html>
+<html>
+<head>
+<link rel="import" href="having-domain-policy.html">
+</head>
+</html>
+EOF

Powered by Google App Engine
This is Rietveld 408576698