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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/dom-write-location.html

Issue 2524013002: XSS Auditor: Block by default. (Closed)
Patch Set: 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.setXSSAuditorEnabled(true); 7 testRunner.setXSSAuditorEnabled(true);
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <iframe src='http://localhost:8000/security/xssAuditor/resources/echo-dom-write- location.html?q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script>'> 12 <iframe src='http://localhost:8000/security/xssAuditor/resources/echo-dom-write- location.php?q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script>'>
13 </iframe> 13 </iframe>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698