OLD | NEW |
1 <script> | 1 <script> |
2 if (window.testRunner) { | 2 if (window.testRunner) { |
3 testRunner.dumpAsText(); | 3 testRunner.dumpAsText(); |
4 testRunner.waitUntilDone(); | 4 testRunner.waitUntilDone(); |
5 testRunner.setCanOpenWindows(true); | 5 testRunner.setCanOpenWindows(true); |
6 testRunner.setCloseRemainingWindowsWhenComplete(true); | 6 testRunner.setCloseRemainingWindowsWhenComplete(true); |
7 } | 7 } |
8 </script> | 8 </script> |
9 <p>To run this test outside of DumpRenderTree, please disable your popup blocker
!</p> | 9 <p>To run this test outside of DumpRenderTree, please disable your popup blocker
!</p> |
10 <p>This test passes if it doesnt hang.</p> | 10 <p>This test passes if it doesn't hang.</p> |
11 <iframe sandbox="allow-scripts allow-popups" | 11 <iframe sandbox="allow-scripts allow-popups" |
12 src="data:text/html, | 12 src="data:text/html, |
13 <script> | 13 <script> |
14 var win = window.open('data:text/html,', '_blank'); | 14 var win = window.open('about:blank', '_blank'); |
15 win.location = 'http://127.0.0.1:8000/navigation/resources/pass-and-notif
y-done.html'; | 15 win.location = 'http://127.0.0.1:8000/navigation/resources/pass-and-notif
y-done.html'; |
16 </script>" | 16 </script>" |
17 ></iframe> | 17 ></iframe> |
OLD | NEW |