Index: LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-ancestors.pl |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-ancestors.pl b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-ancestors.pl |
new file mode 100755 |
index 0000000000000000000000000000000000000000..808008590665e3def4e951833241acfbeab8eeb8 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-ancestors.pl |
@@ -0,0 +1,15 @@ |
+#!/usr/bin/perl |
+use strict; |
+use CGI; |
+ |
+my $cgi = new CGI; |
+ |
+print "Content-Type: text/html; charset=UTF-8\n"; |
+print "Content-Security-Policy: frame-ancestors " . $cgi->param("policy") . "\n\n"; |
+ |
+print "<!DOCTYPE html>\n"; |
+print "<html>\n"; |
+print "<body>\n"; |
+print " <p>This is an IFrame sending a Content Security Policy header containing \"frame-ancestors " . $cgi->param("policy") . "\".</p>\n"; |
+print "</body>\n"; |
+print "</html>\n"; |