4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText();
6 layoutTestController.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">