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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/xss.php

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/xss.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/xss.php b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/xss.php
new file mode 100644
index 0000000000000000000000000000000000000000..e607166541ede26ff025e955be521ed12816c0f3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/xss.php
@@ -0,0 +1,3 @@
+<?php header("X-XSS-Protection: 1"); ?>
+<script>alert(/XSS/)</script>
+

Powered by Google App Engine
This is Rietveld 408576698