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