<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.setXSSAuditorEnabled(true); | |
} | |
</script> | |
</head> | |
<body> | |
This test passes because the injected iframe is from the same host as the child frame.<br/> | |
<iframe src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?test=/security/xssAuditor/iframe-injection-allowed.html&q=<iframe%20src='http://127.0.0.1:8000/'></iframe>"> | |
</iframe> | |
</body> | |
</html> |