| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body onload="runTest()"> | 2 <body onload="runTest()"> |
| 3 <script> | 3 <script> |
| 4 if (window.layoutTestController) | 4 if (window.layoutTestController) |
| 5 { | 5 { |
| 6 layoutTestController.dumpAsText(); | 6 layoutTestController.dumpAsText(); |
| 7 layoutTestController.waitUntilDone(); | 7 layoutTestController.waitUntilDone(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 function runTest() | 10 function runTest() |
| 11 { | 11 { |
| 12 document.body.innerHTML = 'PASS'; | 12 document.body.innerHTML = 'PASS'; |
| 13 | 13 |
| 14 if (layoutTestController) | 14 if (layoutTestController) |
| 15 layoutTestController.notifyDone(); | 15 layoutTestController.notifyDone(); |
| 16 } | 16 } |
| 17 </script> | 17 </script> |
| 18 <iframe src="data:application/x-webkit-test-netscape,foo"></iframe> | 18 <iframe src="data:application/x-webkit-test-netscape,foo"></iframe> |
| 19 </body> | 19 </body> |
| 20 </html> | 20 </html> |
| 21 | 21 |
| OLD | NEW |