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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-dom-write-URL.php

Issue 2524013002: XSS Auditor: Block by default. (Closed)
Patch Set: Rebase+Test Created 4 years 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 unified diff | Download patch
OLDNEW
1 <?php header("X-XSS-Protection: 1"); ?>
1 <!DOCTYPE html> 2 <!DOCTYPE html>
2 <html> 3 <html>
3 <head> 4 <head>
4 </head> 5 </head>
5 <body> 6 <body>
6 <script>document.write(unescape(document.URL));</script> 7 <script>document.write(unescape(document.URL));</script>
7 </body> 8 </body>
8 </html> 9 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698