blob: 68d901f33adaee8911e45be55815decf4f6b6812 [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
</script>
</head>
<body>
<p>This test verifies that a sandboxed IFrame can navigate the top-level frame with allow-top-navigation.</p>
<iframe sandbox="allow-scripts allow-top-navigation allow-same-origin"
src="resources/navigate-top-by-constant-name2-to-pass.html">
</body>
</html>