| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitUntilDone(); |
| testRunner.setCanOpenWindows(true); |
| testRunner.setCloseRemainingWindowsWhenComplete(true); |
| } |
| </script> |
| <p>To run this test outside of DumpRenderTree, please disable your popup blocker!</p> |
| <iframe sandbox="allow-scripts allow-modals allow-popups" |
| src="data:text/html, |
| <script> |
| var win = window.open('data:text/html,<script>if (window.testRunner) testRunner.notifyDone();<\/script>', '_blank'); |
| alert(win ? 'PASS' : 'FAIL'); |
| </script>" |
| ></iframe> |