OLD | NEW |
1 <script> | 1 <script> |
2 function LayoutTestController() { | 2 function LayoutTestController() { |
3 this.dump_as_text_ = false; | 3 this.dump_as_text_ = false; |
4 this.wait_until_done_ = false; | 4 this.wait_until_done_ = false; |
5 | 5 |
6 this.dumpAsText = function () { | 6 this.dumpAsText = function () { |
7 this.dump_as_text_ = true; | 7 this.dump_as_text_ = true; |
8 }; | 8 }; |
9 | 9 |
10 this.waitUntilDone = function () { | 10 this.waitUntilDone = function () { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 layoutTestController.notifyDone(); | 46 layoutTestController.notifyDone(); |
47 } else { | 47 } else { |
48 setTimeout(layoutTestController.OnEvent, 200); | 48 setTimeout(layoutTestController.OnEvent, 200); |
49 } | 49 } |
50 }; | 50 }; |
51 } | 51 } |
52 | 52 |
53 window.layoutTestController = new LayoutTestController(); | 53 window.layoutTestController = new LayoutTestController(); |
54 window.addEventListener('load', layoutTestController.OnEvent, false); | 54 window.addEventListener('load', layoutTestController.OnEvent, false); |
55 </script> | 55 </script> |
OLD | NEW |