Test that window.onerror is called on window object when there is an exception(excluding syntax errors) in attribute handler. Bug 70991.