<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.setXSSAuditorEnabled(true); | |
} | |
</script> | |
</head> | |
<body> | |
<p>Catch injected srcdoc properties when there is punctuation enabling the auditor</p> | |
<iframe src='http://localhost:8000/security/xssAuditor/resources/echo-frame-src.pl?q=%22srcdoc=%22<script>alert(0)</script>'> | |
</body> | |
</html> |