OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../http/tests/inspector/console-test.js"></script> | 4 <script src="../../http/tests/inspector/console-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function test() | 7 function test() |
8 { | 8 { |
9 InspectorTest.reloadPage(function() { | 9 InspectorTest.reloadPage(function() { |
10 InspectorTest.expandConsoleMessages(); | 10 InspectorTest.expandConsoleMessages(); |
(...skipping 10 matching lines...) Expand all Loading... |
21 } | 21 } |
22 | 22 |
23 function a() | 23 function a() |
24 { | 24 { |
25 b(); | 25 b(); |
26 } | 26 } |
27 | 27 |
28 a(); | 28 a(); |
29 } | 29 } |
30 | 30 |
31 eval("(" + evalSource + ")()//@ sourceURL=evalURL.js"); | 31 eval("(" + evalSource + ")()//# sourceURL=evalURL.js"); |
32 | 32 |
33 </script> | 33 </script> |
34 </head> | 34 </head> |
35 | 35 |
36 <body onload="runTest()"> | 36 <body onload="runTest()"> |
37 <p> | 37 <p> |
38 Tests that when uncaught exception in eval'ed script ending | 38 Tests that when uncaught exception in eval'ed script ending |
39 with //@ sourceURL=url is logged into console, its stack trace | 39 with //# sourceURL=url is logged into console, its stack trace |
40 will have the url as the script source. <a href="https://bugs.webkit.org/show_bu
g.cgi?id=47252">Bug 47252.</a> | 40 will have the url as the script source. <a href="https://bugs.webkit.org/show_bu
g.cgi?id=47252">Bug 47252.</a> |
41 </p> | 41 </p> |
42 | 42 |
43 </body> | 43 </body> |
44 </html> | 44 </html> |
OLD | NEW |