| OLD | NEW |
| 1 <script src="../../../js-test.js"></script> | 1 <script src="../../../resources/js-test.js"></script> |
| 2 <body> | 2 <body> |
| 3 If this doesn't crash, it passed. | 3 If this doesn't crash, it passed. |
| 4 <iframe id=iframe src=resources/empty-custom-body.html></iframe> | 4 <iframe id=iframe src=resources/empty-custom-body.html></iframe> |
| 5 </body> | 5 </body> |
| 6 <script> | 6 <script> |
| 7 jsTestIsAsync = true; | 7 jsTestIsAsync = true; |
| 8 | 8 |
| 9 if (testRunner) | 9 if (testRunner) |
| 10 testRunner.dumpAsText(); | 10 testRunner.dumpAsText(); |
| 11 | 11 |
| 12 iframe.onload = function() { | 12 iframe.onload = function() { |
| 13 document.body.appendChild(iframe.contentDocument.documentElement); | 13 document.body.appendChild(iframe.contentDocument.documentElement); |
| 14 document.querySelector('#thebody'); | 14 document.querySelector('#thebody'); |
| 15 iframe.remove(); | 15 iframe.remove(); |
| 16 finishJSTest(); | 16 finishJSTest(); |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 successfullyParsed = true; | 19 successfullyParsed = true; |
| 20 </script> | 20 </script> |
| OLD | NEW |