OLD | NEW |
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.dumpChildFramesAsText(); |
| 8 testRunner.waitUntilDone(); |
7 testRunner.setXSSAuditorEnabled(true); | 9 testRunner.setXSSAuditorEnabled(true); |
8 testRunner.waitUntilDone(); | |
9 } | 10 } |
10 | 11 function done() |
11 window.onload = function() { | 12 { |
12 if (window.testRunner) | 13 if (window.testRunner) |
13 testRunner.notifyDone(); | 14 testRunner.notifyDone(); |
14 }; | 15 } |
15 </script> | 16 </script> |
16 </head> | 17 </head> |
17 <body> | 18 <body> |
18 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-dom-write-
innerHTML.html?q=<img src='about:blank' onerror='alert(String.fromCharCode(0x58,
0x53,0x53))'>"> | 19 <iframe src="http://localhost:8000/security/xssAuditor/intercept/echo-form-actio
n.pl/%22%20onmouseover=%22JavaScript:alert(document.domain)%22%20name=%22?m=logi
n"></iframe> |
19 </iframe> | |
20 </body> | 20 </body> |
21 </html> | 21 </html> |
OLD | NEW |