1 PASS window.event.type is "error"
2 PASS onerrorMessage is window.event.message
3 PASS stripURL(onerrorURL) is stripURL(window.event.filename)
4 PASS onerrorLine is window.event.lineno
5 PASS onerrorColumn is window.event.colno
6 PASS successfullyParsed is true
9 This tests that when 'window.onerror' handler is called, 'window.event' is the corresponding ErrorEvent object.