If a method called on a Java object through the Java Bridge throws an uncaught
exception, we throw a JavaScript exception.
See WebKit change https://android-git.corp.google.com/g/184252
Bug: 6386557
Change-Id: I35c456c162fd9b2a078ee9fce1ea68404b4c829c