| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/js-test-pre.js"></script> | 4 <script src="resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 | 7 |
| 8 <!-- Ensure that lines in a document.write() do not count. --> | 8 <!-- Ensure that lines in a document.write() do not count. --> |
| 9 <script> | 9 <script> |
| 10 document.write("\n\n\n"); | 10 document.write("\n\n\n"); |
| 11 </script> | 11 </script> |
| 12 | 12 |
| 13 <script src="resources/script-line-number.js" onload="try { nonExistentFunctionO
nLine13(); } catch (e) { assertErrorOnLine(e, 13); }"></script> | 13 <script src="resources/script-line-number.js" onload="try { nonExistentFunctionO
nLine13(); } catch (e) { assertErrorOnLine(e, 13); }"></script> |
| 14 <script> | 14 <script> |
| 15 try { | 15 try { |
| 16 nonExistentFunctionOnLine16(); | 16 nonExistentFunctionOnLine16(); |
| 17 } catch (e) { | 17 } catch (e) { |
| 18 assertErrorOnLine(e, 16); | 18 assertErrorOnLine(e, 16); |
| 19 } | 19 } |
| 20 </script> | 20 </script> |
| 21 <script src="resources/js-test-post.js"></script> | |
| 22 </body> | 21 </body> |
| 23 </html> | 22 </html> |
| OLD | NEW |