ariya/phantomjs — pull request #275 by jonleighton (2012-06-18 22:46:13+00:00)
Title: Fix segfault when using e.g. console.error

When console.error was called, there was a segfault because it was
treated as an uncaught exception, but did not have the correct stack
trace information (I am not sure why, but still...)

Now that we are generating the stackTrace in WebCore::reportException,
the MessageType gets set correctly, so we can use this to differentiate
between uncaught exceptions and other messages.

https://code.google.com/p/phantomjs/issues/detail?id=47