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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/resources/test-csp-header.pl

Issue 1136843011: Revert of Add CSP header for resources with an active policy (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/security/contentSecurityPolicy/resources/test-csp-header.pl
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/test-csp-header.pl b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/test-csp-header.pl
deleted file mode 100755
index 55dc114e0f709d3dbea0835f6010171fb947af61..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/test-csp-header.pl
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/perl
-
-if ($ENV{HTTP_CSP} eq "active") {
- print "Status: 200\r\n";
- print "Content-type: application/javascript\r\n";
- print "\r\n";
- print "script_loaded = true;\r\n\r\n"
-} else {
- print "Status: 404\r\n";
- print "Content-type: text/html\r\n";
- print "\r\n";
- print "CSP header not sent\r\n\r\n";
-}

Powered by Google App Engine
This is Rietveld 408576698