[react_native] JS files from D2164109: [react_native] Fix JS error stacktraces on Android

This commit is contained in:
Andy Street 2015-06-19 03:30:09 -07:00
parent c8c254ce13
commit 0116abed4f

View File

@ -143,7 +143,7 @@ class XMLHttpRequestBase {
return;
}
this.status = status;
this.setResponseHeaders(responseHeaders);
this.setResponseHeaders(responseHeaders || {});
this.responseText = responseText;
this.setReadyState(this.DONE);
}