2010-06-22 Tony Gentilcore <tonyg@chromium.org>
[WebKit.git] / LayoutTests / fast / js / script-line-number.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <link rel="stylesheet" href="resources/js-test-style.css">
5 <script src="resources/js-test-pre.js"></script>
6 </head>
7 <body>
8 <p id="description"></p>
9 <div id="console"></div>
10 <script src="resources/script-line-number.js" onload="try { nonExistentFunctionOnLine10(); } catch (e) { assertErrorOnLine(e, 10); }"></script>
11 <script>
12 try {
13     nonExistentFunctionOnLine13();
14 } catch (e) {
15     assertErrorOnLine(e, 13);
16 }
17 </script>
18 <script src="resources/js-test-post.js"></script>
19 </body>
20 </html>