16 lines
384 B
HTML
16 lines
384 B
HTML
<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-to-pass.html">
|
|
</body>
|
|
</html>
|