| <!DOCTYPE html> |
| <html> |
| <head> |
| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitUntilDone(); |
| testRunner.setXSSAuditorEnabled(true); |
| } |
| </script> |
| </head> |
| <body> |
| <iframe name="tg" src="about:blank"></iframe> |
| <form target="tg" method="POST" id="theForm" |
| action="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?test=/security/xssAuditor/script-tag-post.html"> |
| <input type="hidden" name="notifyDone" value="1"> |
| <input type="text" name="q" value="<script>alert(String.fromCharCode(0x58,0x53,0x53))</script>"> |
| </form> |
| <script> |
| document.getElementById('theForm').submit(); |
| </script> |
| </body> |
| </html> |