| <script src="../../http/tests/inspector/inspector-test.js"></script> |
| <script src="../../http/tests/inspector/console-test.js"></script> |
| InspectorTest.reloadPage(function() { |
| InspectorTest.expandConsoleMessages(); |
| InspectorTest.dumpConsoleMessages(); |
| InspectorTest.completeTest(); |
| throw new Error("Exception in eval."); |
| eval("(" + evalSource + ")()//@ sourceURL=evalURL.js"); |
| <body onload="runTest()"> |
| Tests that when uncaught exception in eval'ed script ending |
| with //@ sourceURL=url is logged into console, its stack trace |
| will have the url as the script source. <a href="https://bugs.webkit.org/show_bug.cgi?id=47252">Bug 47252.</a> |