Bug 1039048 - Don't eat IllegalArgumentExceptions in dispatchEvent. r=jchen