blob: 04ea04c4930d94f65fe4a3dbf9d2f144be4827fa [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function success()
{
document.getElementById("console").innerHTML = "PASS: cross-site assignment of location.host not allowed";
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<body onload="success()">
<iframe src="http://localhost:8000/security/resources/xss-DENIED-assign-location-host-attacker.html"></iframe>
<div id="console"></div>
</body>
</html>