Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / script-line-number.html
blobbcb580a1d5b82974df5244f2151170e09b9ad552
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
8 <!-- Ensure that lines in a document.write() do not count. -->
9 <script>
10 document.write("\n\n\n");
11 </script>
13 <script src="resources/script-line-number.js" onload="try { nonExistentFunctionOnLine13(); } catch (e) { assertErrorOnLine(e, 13); }"></script>
14 <script>
15 try {
16 nonExistentFunctionOnLine16();
17 } catch (e) {
18 assertErrorOnLine(e, 16);
20 </script>
21 </body>
22 </html>