| <script src="http://localhost:8000/security/xssAuditor/resources/utilities.js"></script> |
| testRunner.dumpChildFramesAsText(); |
| testRunner.waitUntilDone(); |
| testRunner.setXSSAuditorEnabled(true); |
| <p>This tests that a malformed X-XSS-Protection header is not ignored and an error is reported when the mode= token is invalid.</p> |
| <iframe id="frame" name="frame" onload="checkIfFrameLocationMatchesSrcAndCallDone('frame')" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?test=/security/xssAuditor/malformed-xss-protection-header-3.html¬ifyDone=1&malformed-header=3&q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script><p>If you see this message and no JavaScript alert() then the test PASSED.</p>"> |