| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 if (window.layoutTestController) { | 4 if (window.layoutTestController) { |
| 5 layoutTestController.dumpAsText(); | 5 layoutTestController.dumpAsText(); |
| 6 layoutTestController.waitUntilDone(); | 6 layoutTestController.waitUntilDone(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 function fail(s) { | 9 function fail(s) { |
| 10 document.body.innerHTML = "FAIL: " + s; | 10 document.body.innerHTML = "FAIL: " + s; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 if (window.layoutTestController) | 42 if (window.layoutTestController) |
| 43 layoutTestController.notifyDone(); | 43 layoutTestController.notifyDone(); |
| 44 } | 44 } |
| 45 </script> | 45 </script> |
| 46 </head> | 46 </head> |
| 47 <body onload="runTest()"> | 47 <body onload="runTest()"> |
| 48 This is a test for window.find(). SUCCESS! | 48 This is a test for window.find(). SUCCESS! |
| 49 </body> | 49 </body> |
| 50 </html> | 50 </html> |
| OLD | NEW |