Test that window.onerror is called on window object when there is a syntax error in attribute handler. Bug 70991.