Disallow XHR in synchronous tests