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