This illustrates the problem that window.onerror handlers
and 'error' events aren't fired by Console errors.
onerrorHandler and errorHandler were runthrow new Error('Error from console') into the Console and run itonerrorHandler nor errorHandler were run