OLD | NEW |
1 <script> | 1 <script> |
2 if (window.layoutTestController) { | 2 if (window.layoutTestController) { |
3 layoutTestController.dumpAsText(); | 3 layoutTestController.dumpAsText(); |
4 layoutTestController.waitUntilDone(); | 4 layoutTestController.waitUntilDone(); |
5 layoutTestController.setCanOpenWindows(true); | 5 layoutTestController.setCanOpenWindows(true); |
6 layoutTestController.setCloseRemainingWindowsWhenComplete(true); | 6 layoutTestController.setCloseRemainingWindowsWhenComplete(true); |
7 } | 7 } |
8 | 8 |
9 var win = window.open('data:application/x-webkit-test-netscape,'); | 9 var win = window.open('data:application/x-webkit-test-netscape,'); |
10 setTimeout(function() { | 10 setTimeout(function() { |
11 win.location.reload(); | 11 win.location.reload(); |
12 setTimeout(function() { | 12 setTimeout(function() { |
13 if (window.layoutTestController) | 13 if (window.layoutTestController) |
14 layoutTestController.notifyDone(); | 14 layoutTestController.notifyDone(); |
15 }, 100); | 15 }, 100); |
16 }, 100); | 16 }, 100); |
17 </script> | 17 </script> |
18 This test passes if it doesn't crash. To run manually, please disable your | 18 This test passes if it doesn't crash. To run manually, please disable your |
19 popup blocker. | 19 popup blocker. |
OLD | NEW |