kripken/emscripten — pull request #1816 by juj (2013-11-15 22:06:35+00:00)
Title: Fix test other.test_warn_undefined on Windows.

Never throw uncaught exceptions out from compiler.js, but just report the exception message to stderr. Fixes other.test_warn_undefined on Windows, which would fail if Python spawned node.js in the case where it printed stderr and terminated to an uncaught exception, leaving unflushed data to stderr, and not all unresolved symbol errors were printed to console. Node.js stderr does not have a flush() mechanism, so must gracefully terminate the execution instead.

Fixes #1804 as well.

Not yet tested for merge, currently running try builds on the bots to see nothing breaks.