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