<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>
