4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
11 <p>This test verifies that a sandboxed IFrame can navigate the top-level frame with allow-top-navigation.
</p>
12 <iframe sandbox=
"allow-scripts allow-top-navigation allow-same-origin"
13 src=
"resources/navigate-top-by-constant-name-to-pass.html">