| OLD | NEW |
| 1 <body> | 1 <body> |
| 2 <p>Test importScripts with error.</p> | 2 <p>Test importScripts with error.</p> |
| 3 <div id=result></div> | 3 <div id=result></div> |
| 4 <script> | 4 <script> |
| 5 function log(message) | 5 function log(message) |
| 6 { | 6 { |
| 7 document.getElementById("result").innerHTML += message + "<br>"; | 7 document.getElementById("result").innerHTML += message + "<br>"; |
| 8 } | 8 } |
| 9 | 9 |
| 10 if (window.layoutTestController) { | 10 if (window.layoutTestController) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 properties.push('<br/>' + property + ': ' + error[property]); | 23 properties.push('<br/>' + property + ': ' + error[property]); |
| 24 } | 24 } |
| 25 properties.sort(); | 25 properties.sort(); |
| 26 log(properties); | 26 log(properties); |
| 27 if (window.layoutTestController) | 27 if (window.layoutTestController) |
| 28 layoutTestController.notifyDone(); | 28 layoutTestController.notifyDone(); |
| 29 } | 29 } |
| 30 </script> | 30 </script> |
| 31 </body> | 31 </body> |
| 32 </html> | 32 </html> |
| OLD | NEW |