This test examines the information available to different JS error handling contexts. It looks at the properties defined for Error objects passed into try-catch exception handlers, and it looks at the arguments available to window.onerror handlers. Also, because the behavior is known to differ depending on whether a script is in the same-domain as the main page or not, these tests are run twice, with the script coming from both same-domain and cross-domain endpoints.