When an exception leaks out in Emscripten JS environment, don't fail the test runner due to that.