react-native/Libraries
Janic Duplessis 44fcf22074 Fix crash when passing null to clearImmediate
Summary:Passing `undefined` or `null` to `clearImmediate` caused apps to crash. It it caused because we try to find the index of the null/undefined timer when we should just do nothing when passed these values.

It is already handled properly in the other Timer functions.

**Test plan**
Calling `clearImmediate` with `undefined` or `null` should do nothing.
Closes https://github.com/facebook/react-native/pull/6192

Differential Revision: D2987778

Pulled By: vjeux

fb-gh-sync-id: 6fd38cfa3c10012caa2afb27cbdab95df696a769
shipit-source-id: 6fd38cfa3c10012caa2afb27cbdab95df696a769
2016-02-28 11:41:33 -08:00
..
ART Fixed ART background color 2016-01-08 15:42:32 -08:00
ActionSheetIOS Add support for sharing images or other media via iOS share sheet 2016-02-22 05:34:32 -08:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated Implement modulo operator method 2016-02-25 17:19:31 -08:00
AppRegistry Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
AppState Tweak docs before releasing 0.19 2016-01-30 17:11:28 -08:00
AppStateIOS Made Map & Set polyfills available globally 2016-01-20 08:27:38 -08:00
BatchedBridge Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
CameraRoll Fix promises on iOS to no longer wrap values in Arrays 2016-02-10 07:25:35 -08:00
Components Fix scrollResponderScrollTo deprecated warning 2016-02-25 06:26:34 -08:00
CustomComponents Guard navigator from dismatching gestures. 2016-02-26 18:11:32 -08:00
DebugComponentHierarchy Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Device Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Devtools Use pre-bundled elements inspector 2015-10-29 11:21:32 -07:00
Fetch Add fetch's clone function to Request and Response prototypes 2015-10-30 10:57:33 -07:00
Geolocation Fix for different geolocation timestamp for Android and iOS 2016-02-25 07:23:33 -08:00
Image Fixed issue with opaque thumbnails being given an alpha channel 2016-02-26 11:42:34 -08:00
Inspector fix RCTPerfMonitor display unit error 2016-02-26 04:54:32 -08:00
Interaction Reverted commit D2803288 2016-02-11 02:45:34 -08:00
JavaScriptAppEngine Fix crash when passing null to clearImmediate 2016-02-28 11:41:33 -08:00
LayoutAnimation Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
Linking Update Linking.js 2016-02-12 12:58:31 -08:00
LinkingIOS Fix RCTLinkingManager crash on iOS7 2016-02-26 06:50:34 -08:00
Modal Improve Modal docs describing iOS only support 2015-12-05 18:48:28 -08:00
NativeApp Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
NavigationExperimental Sets up example for LegacyNavigator. 2016-02-25 14:57:03 -08:00
Network XMLHttpRequest.DONE is not defined. Fixes #5883 2016-02-16 23:59:33 -08:00
Picker Add position to Picker onValueChange's call 2016-02-19 06:50:33 -08:00
Portal Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
PullToRefresh Deprecate PullToRefreshViewAndroid and remove it from the website 2016-02-21 16:17:36 -08:00
PushNotificationIOS Remove duplicate register call 2016-02-24 03:56:31 -08:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Replace direct access of NativeModules.UIManager with require('UIManager') 2016-01-30 07:36:34 -08:00
RKBackendNode Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ReactIOS revert D2928371 to unbreak drawer. 2016-02-22 22:45:35 -08:00
ReactNative Only freeze valid attributes in `mountComponent` 2016-02-16 13:58:33 -08:00
Sample Remove invariant of Sample.ios.js that is not used 2015-05-26 18:25:00 -07:00
Settings Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
Storage multiGet breaking test and fix 2016-02-05 16:45:46 -08:00
StyleSheet Replace usages of hexToRgb with setNormalizedColorAlpha 2016-02-09 14:58:34 -08:00
Text Add support for `textAlign` on iOS multiline text input 2016-02-07 12:38:36 -08:00
Utilities Show a Toast for HMR 2016-02-27 15:58:35 -08:00
Vibration Text highlighting on iOS 2015-07-24 08:41:58 -08:00
WebSocket Fix OSS iOS build 2016-02-17 07:38:33 -08:00
react-native Resolve react flow definitions 2016-02-25 02:45:34 -08:00
vendor CI now builds docs website and deploys it to /%version% path 2016-02-11 06:17:42 -08:00
Promise.js Reverted commit D2803288 2016-02-11 02:45:34 -08:00