OLD | NEW |
1 <script> | 1 <script> |
2 (function() { | 2 (function() { |
3 | 3 |
4 if (location.hash == "#stop") | 4 if (location.hash == "#stop") |
5 return; | 5 return; |
6 | 6 |
7 if (window.layoutTestController) { | 7 if (window.layoutTestController) { |
8 layoutTestController.dumpAsText(); | 8 layoutTestController.dumpAsText(); |
9 layoutTestController.waitUntilDone(); | 9 layoutTestController.waitUntilDone(); |
10 layoutTestController.setCanOpenWindows(); | 10 layoutTestController.setCanOpenWindows(); |
(...skipping 27 matching lines...) Expand all Loading... |
38 window.addEventListener('message', function(evt) { | 38 window.addEventListener('message', function(evt) { |
39 if (evt.data == 'done') { | 39 if (evt.data == 'done') { |
40 if (window.layoutTestController) | 40 if (window.layoutTestController) |
41 layoutTestController.notifyDone(); | 41 layoutTestController.notifyDone(); |
42 } | 42 } |
43 }); | 43 }); |
44 | 44 |
45 })(); | 45 })(); |
46 </script> | 46 </script> |
47 This test passes if it doesn't alert something ugly. | 47 This test passes if it doesn't alert something ugly. |
OLD | NEW |