| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/javascript-url.pl
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/javascript-url.pl b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/javascript-url.pl
|
| deleted file mode 100755
|
| index 0f2964656fde16d34495e053ddcd43eaaac8b057..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/javascript-url.pl
|
| +++ /dev/null
|
| @@ -1,19 +0,0 @@
|
| -#!/usr/bin/perl -wT
|
| -use strict;
|
| -use CGI;
|
| -
|
| -my $cgi = new CGI;
|
| -
|
| -print "Content-Type: text/html; charset=UTF-8\n";
|
| -print "Content-Security-Policy: ".$cgi->param('csp')."\n\n";
|
| -
|
| -my $text = "PASS";
|
| -$text = "FAIL" if $cgi->param('should_run') eq 'no';
|
| -
|
| -print "<!DOCTYPE html>\n";
|
| -print "<html>\n";
|
| -print "<body>\n";
|
| -print "<iframe src=\"javascript:alert('".$text."');\"></iframe>\n";
|
| -print "<object data=\"javascript:alert('".$text."');\"></object>\n";
|
| -print "<embed src=\"javascript:alert('".$text."');\"></embed>\n";
|
| -print "</html>\n";
|
|
|