react-native/Libraries/Network
Erik Arvidsson 04d870b10b XMLHttpRequest should dispatch loadend events
Summary:
The code was never dispatching the loadend event. The event should be
dispatched after the load, error, timeout and abort events (abort
events are not yet supported).

https://xhr.spec.whatwg.org/#event-xhr-loadend
Closes https://github.com/facebook/react-native/pull/10047

Differential Revision: D3911080

fbshipit-source-id: 450f50a6f2a5c6845889bce624c64a1ca47ec06b
2016-09-22 17:13:46 -07:00
..
RCTNetwork.xcodeproj Fix some unsafe thread behavior 2016-09-01 19:58:58 -07:00
__tests__ XMLHttpRequest should dispatch loadend events 2016-09-22 17:13:46 -07:00
FormData.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
NetInfo.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
RCTDataRequestHandler.h Added RCTDataRequestHandler 2015-10-19 09:07:06 -07:00
RCTDataRequestHandler.m Fix retain cyles in RCTNetworkTask when used with RCTFileRequestHandler and RCTDataRequestHandler 2015-11-04 07:16:26 -08:00
RCTFileRequestHandler.h Added RCTFileRequestHandler 2015-10-13 08:14:28 -07:00
RCTFileRequestHandler.m Support bundle argument for image loading 2016-08-31 17:43:49 -07:00
RCTHTTPRequestHandler.h Refactored networking logic out into RCTDownloadTask 2015-07-23 04:00:31 -08:00
RCTHTTPRequestHandler.m Avoid dispatching network callbacks when already on the right queue 2016-08-17 10:44:01 -07:00
RCTNetInfo.h Update RCTNetworking, RCTNetInfo and RCTLocationManager to use new events system 2016-05-25 04:28:36 -07:00
RCTNetInfo.m Update RCTNetworking, RCTNetInfo and RCTLocationManager to use new events system 2016-05-25 04:28:36 -07:00
RCTNetworkTask.h Perform all callbacks from RCTNetworkTasks on a given queue 2016-08-17 10:44:01 -07:00
RCTNetworkTask.m Add some defensive cleanup of cancelBlock in RCTImageLoader 2016-08-19 10:46:09 -07:00
RCTNetworking.android.js Add responseType as a concept to RCTNetworking, send binary data as base64 2016-07-13 04:58:37 -07:00
RCTNetworking.h Update RCTNetworking, RCTNetInfo and RCTLocationManager to use new events system 2016-05-25 04:28:36 -07:00
RCTNetworking.ios.js Support RCTNetworking#clearCookies on iOS 2016-08-26 05:43:39 -07:00
RCTNetworking.mm For file uploads, don't stomp on developer's Content-Type header 2016-09-05 14:58:40 -07:00
XMLHttpRequest.js XMLHttpRequest should dispatch loadend events 2016-09-22 17:13:46 -07:00