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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/static-script.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/static-script.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/static-script.html b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/static-script.php
similarity index 83%
rename from third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/static-script.html
rename to third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/static-script.php
index 1c39fb280fbfa38d066152ae994dfe0eae584280..311c9e0b614038a4fff54e8499857dbc2a9918f0 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/static-script.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/static-script.php
@@ -1,3 +1,4 @@
+<?php header("X-XSS-Protection: 1"); ?>
<!DOCTYPE html>
<html>
<p>This is a page with a static script matching a post variable</p>

Powered by Google App Engine
This is Rietveld 408576698