Axios subscribes to the onloadend handler on XHRs rather than the onload or onreadystatechange handler, which causes problems if an XHR request has been intercepted by can-zone. The XHR zone does not currently fire this handler when pulling a response out of XHR_CACHE.
This PR adds onloadend to the callbacks fired in the XHR zone to fix the above issue.
Axios subscribes to the onloadend handler on XHRs rather than the onload or onreadystatechange handler, which causes problems if an XHR request has been intercepted by can-zone. The XHR zone does not currently fire this handler when pulling a response out of XHR_CACHE.
This PR adds onloadend to the callbacks fired in the XHR zone to fix the above issue.