blob: 8961c7dc9cdcc3eedbf386727836c030b74d43b1 [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.name = "target";
</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-name-to-pass.html">
</body>
</html>