<html> | |
<body> | |
This tests that uncaught exceptions have the right line numbers, for | |
example for display in the JavaScript error console. To run the test manually, | |
look in the JS console for an uncaught exception on line 11.<br> | |
<script> | |
if (window.testRunner) testRunner.dumpAsText(); | |
function foo() { | |
throw 'uh oh, an exception!'; | |
} | |
</script> | |
<script> | |
foo(); | |
</script> | |
</body> | |
</html> |