This test determines whether a browser supports the crossorigin attribute (CORS) on script tags. A script is loaded from a different domain which throws an exception. If the details of that exception are available to window.onerror, 'crossorigin supported' is displayed.