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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-dom-write-location.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/echo-dom-write-location.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-dom-write-location.html b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-dom-write-location.php
similarity index 75%
rename from third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-dom-write-location.html
rename to third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-dom-write-location.php
index c9c064fed599bfe4f8c993d0372c5ac2579231d2..3aaba671252dbb5ccde8e9b5f8752c5ebc29799b 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-dom-write-location.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-dom-write-location.php
@@ -1,3 +1,4 @@
+<?php header("X-XSS-Protection: 1"); ?>
<!DOCTYPE html>
<html>
<head>

Powered by Google App Engine
This is Rietveld 408576698