react-native-macos/Libraries
Jhen cf51aee9a0 Support `options` param for `requestIdleCallback`
Summary:
The `requestIdleCallback` sometimes doesn't work in `Debug JS Remotely` mode if I use real device, the callback will never called. I guess it may be debugger worker and device caused by the time gap, or some cause websocket blocking, so it's just sometimes happening.

I think we can support [options](https://developer.mozilla.org/zh-TW/docs/Web/API/Window/requestIdleCallback#Parameters) for that.

Added an example `Run requestIdleCallback with timeout option` for Timers of UIExplorer, it use `{ timeout: 100 }` option with burn CPU 100ms, we can see `didTimeout` is true.
Closes https://github.com/facebook/react-native/pull/13116

Differential Revision: D4894348

Pulled By: hramos

fbshipit-source-id: 29c4c2fe5634b30a8bf8d3495305cd8f635ed922
2017-06-01 11:00:40 -07:00
..
ART call toString on fontWeight else throws error if passed an integer 2017-05-25 01:34:53 -07:00
ActionSheetIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
AdSupport Update AdSupportIOS.js 2017-04-28 06:34:21 -07:00
Alert Export Alert's type ButtonsArray for external use 2017-03-06 12:44:47 -08:00
Animated Add missing documentation to animated spring config 2017-05-30 14:36:06 -07:00
AppState Added stubs for some native modules 2017-06-01 08:31:19 -07:00
BatchedBridge Add error message when calling sync methods from the Chrome debugger 2017-05-25 06:18:36 -07:00
BugReporting Patch up for future React Sync 2017-02-08 14:50:43 -08:00
CameraRoll Export an object instead of array for asset type 2017-05-04 21:49:45 -07:00
Components Improve view props and style stuff. 2017-06-01 01:15:42 -07:00
Core Support `options` param for `requestIdleCallback` 2017-06-01 11:00:40 -07:00
DebugComponentHierarchy Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
EventEmitter Added stubs for some native modules 2017-06-01 08:31:19 -07:00
Experimental Fix react-native function call arity errors 2017-05-18 16:55:55 -07:00
Geolocation Exposes requestAuthorization method. 2017-05-25 07:07:50 -07:00
Image Using <Image> with nested content now causes warning (yellowbox) 2017-05-30 20:04:55 -07:00
Inspector Refactor of Fiber integration with React Fiber + Stack 2017-05-30 10:02:32 -07:00
Interaction Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
JSInspector Add Network agent 2016-11-02 12:29:15 -07:00
LayoutAnimation Fix prop-types warning in LayoutAnimation 2017-05-12 15:06:17 -07:00
Linking Add newly recommended method for RCTLinkingManager due to deprecation 2017-05-25 11:31:23 -07:00
LinkingIOS Add newly recommended method for RCTLinkingManager due to deprecation 2017-05-25 11:31:23 -07:00
Lists Update SectionList.js 2017-05-31 23:49:35 -07:00
Modal Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
NativeAnimation Native Animated - Support Animated.loop on iOS 2017-05-26 03:30:33 -07:00
Network Added stubs for some native modules 2017-06-01 08:31:19 -07:00
Performance Clean up unused metrics 2017-05-09 13:30:26 -07:00
PermissionsAndroid Include Create React Native App in Getting Started 2017-04-26 07:16:18 -07:00
PushNotificationIOS Play sound in local notification only if soundName is specified 2017-05-28 15:37:10 -07:00
RCTTest Using `drawViewHierarchyInRect` instead of `renderInContext` for snapshot tests 2017-05-26 15:16:07 -07:00
ReactNative Cleanup perf logging in FacebookAppRouteHandler 2017-06-01 04:15:57 -07:00
Renderer Refactor of Fiber integration with React Fiber + Stack 2017-05-30 10:02:32 -07:00
Sample Fix missing RCTBridgeModule.h 2017-01-31 11:13:50 -08:00
Settings Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Share Flowify Process Color 2017-04-26 11:31:56 -07:00
Storage correctly order ASyncStorage 2017-02-21 15:18:40 -08:00
StyleSheet Flat ReactNative renderer bundle [WIP] 2017-05-26 11:03:06 -07:00
Text RCTTextField was spliited into two classes 2017-05-29 16:01:11 -07:00
Utilities Cleanup PerformanceLogger a bit 2017-06-01 10:03:27 -07:00
Vibration Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
WebSocket Added stubs for some native modules 2017-06-01 08:31:19 -07:00
react-native Introducing <ImageBackground>, replacement for <Image> which supports nesting views 2017-05-24 11:30:48 -07:00
vendor Remove `copyProperties` 2017-03-21 08:01:58 -07:00
Promise.js Allow Promise to display error strings and not just error objects. 2017-03-09 14:30:57 -08:00
promiseRejectionIsError.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00