XMLHttpRequest: ensure that response getters properly handle error cases (see bug 125840)

PASS error test 
PASS abort test 

