Test that exception in window.onerror won't lead to recursive window.onerror call. Bug 8519.