blob: 0a0b2370e373ade091fd6c40731a02c755532d65 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setXSSAuditorEnabled(true);
}
</script>
</head>
<body>
<p>Tests that 'X-WebKit-CSP: reflected-xss invalid' enables the XSSAuditor.
This test passes if a console message is generated, and the script is allowed.</p>
<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?csp=invalid&amp;q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script>"></iframe>
</body>
</html>