-
oliver@apple.com authored
<https://bugs.webkit.org/show_bug.cgi?id=15979> Reviewed by Mark Rowe The problem was that there were multiple versions of the logic to log an exception to the console, many of which were incorrect. We resolve this by making one single shared reportException method, which handles the exceptions correctly. This improves fidelity of callback errors, and ensures that exceptions thrown in timer callbacks correctly report line numbers, etc. Test: fast/js/exceptions-thrown-in-callbacks.html git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9b2a4058