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

Side by Side 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 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 <p>This is a page with a static script matching a post variable</p> 4 <p>This is a page with a static script matching a post variable</p>
4 <script>yourname=hunter</script> 5 <script>yourname=hunter</script>
5 <script> 6 <script>
6 if (window.testRunner) 7 if (window.testRunner)
7 testRunner.notifyDone(); 8 testRunner.notifyDone();
8 </script> 9 </script>
9 </html> 10 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698