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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag-decode-16bit-unicode.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-intertag-decode-16bit-unicode.pl
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag-decode-16bit-unicode.pl b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag-decode-16bit-unicode.pl
index 116dd14575421c5324556f985b9d80c6d2c3bd19..410a1826c31d5c20b5fe7ab641a2bcebfc9656ba 100755
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag-decode-16bit-unicode.pl
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag-decode-16bit-unicode.pl
@@ -68,6 +68,7 @@ sub decode16BitUnicodeEscapeSequences
}
my $charsetToUse = $cgi->param('charset') ? $cgi->param('charset') : "UTF-8";
+print "X-XSS-Protection: 1\n";
print "Content-Type: text/html; charset=$charsetToUse\n\n";
print "<!DOCTYPE html>\n";

Powered by Google App Engine
This is Rietveld 408576698