Skip to content

Commit

Permalink
Issue #3181
Browse files Browse the repository at this point in the history
Gives loaded progress back to XMLHttpRequest
  • Loading branch information
butchmarshall committed Oct 15, 2017
1 parent e6ef035 commit 6ee95a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Libraries/Network/XMLHttpRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ class XMLHttpRequest extends EventTarget(...XHR_EVENTS) {
} else {
this._response += responseText;
}
// fixing progress always being 0
progress = this._response.length;

XMLHttpRequest._interceptor && XMLHttpRequest._interceptor.dataReceived(
requestId,
Expand Down

0 comments on commit 6ee95a3

Please sign in to comment.