<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.setXSSAuditorEnabled(true); | |
} | |
</script> | |
</head> | |
<body> | |
<iframe src='http://localhost:8000/security/xssAuditor/resources/echo-dom-write-location.html?q=<script>document.write("<img src=1 ");</script>onerror=alert(/XSS/)'> | |
</iframe> | |
</body> | |
</html> |