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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-ancestors.pl

Issue 91353002: CSP 1.1: Implement the 'frame-ancestors' directive. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 11 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
2 use strict;
3 use CGI;
4
5 my $cgi = new CGI;
6
7 print "Content-Type: text/html; charset=UTF-8\n";
8 print "Content-Security-Policy: frame-ancestors " . $cgi->param("policy") . "\n\ n";
9
10 print "<!DOCTYPE html>\n";
11 print "<html>\n";
12 print "<body>\n";
13 print " <p>This is an IFrame sending a Content Security Policy header contain ing \"frame-ancestors " . $cgi->param("policy") . "\".</p>\n";
14 print "</body>\n";
15 print "</html>\n";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698