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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-inspan.pl

Issue 2524013002: XSS Auditor: Block by default. (Closed)
Patch Set: Rebase+Test Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-inspan.pl
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-inspan.pl b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-inspan.pl
index b193c9e9bc42e41a6f7a1dc04b2f39e18761ebd1..8d42a9dc330a8c9f38f3562ef45a6292018426c9 100755
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-inspan.pl
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-inspan.pl
@@ -4,6 +4,7 @@ use CGI;
my $cgi = new CGI;
+print "X-XSS-Protection: 1\n";
print "Content-Type: text/html; charset=UTF-8\n\n";
print "<html>\n";

Powered by Google App Engine
This is Rietveld 408576698