<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.setXSSAuditorEnabled(true); | |
} | |
</script> | |
</head> | |
<body> | |
<iframe src="http://localhost:8000/security/xssAuditor/resources/script-tag-safe4-frame.html?q=<img%20src=%22http://127.0.0.1:8000/foo%22/>"> | |
</iframe> | |
Test passes if XSSAuditor is not triggered. | |
</body> | |
</html> |