blob: ca8a315df359e6b57849c3d798aa87496719b89f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="http://localhost:8000/security/xssAuditor/resources/utilities.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
testRunner.setXSSAuditorEnabled(true);
}
function notify() {
if (window.testRunner) {
setTimeout(testRunner.notifyDone.bind(testRunner), 0);
}
}
</script>
</head>
<body>
<p>This tests that the X-XSS-Protection reports are sent out properly</p>
<iframe onload="notify()" name="frame" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?test=report-script-tag.html&echo-report=1&enable-report-cross-origin=1&q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script><p>If you see this message, no JavaScript alert(), and not dump of a report is displayed below, then the test PASSED.</p>">
</iframe>
</body>
</html>