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