blob: 601b8d673604bf7601d9d1dcb3ea12971407a7de [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<p>This test verifies that a sandboxed IFrame cannot navigate the top-level
frame without allow-top-navigation. This test passes if the navigation does
not occur.</p>
<iframe sandbox="allow-scripts"
src="resources/navigate-top-to-fail.html">
</body>
</html>