Visually notify of uncaught exceptions breaking client tests #9034
This PR is intended to help fix #4979. I know external package
These changes add a global
This should help notify developers of potential errors behind the scenes, that are preventing the client side tests from running.
(P.S. --> I snuck
These changes add a global `window.onerror` event handler to the `test-in-browser` package, to catch any previously uncaught exceptions. When uncaught exceptions are found, an alert box is displayed above the test results table. This should help notify developers of hidden uncaught exceptions that could be preventing client tests from running. Fixes #4979.