You should see a log record if window.onerror is working properly for this test.Bug 8519.