Tests that uncaught exceptions are logged into console.Bug 47250.