XHR, Tests: Update with cross-domain error checks.