react-native/React
Ramanpreet Nara a997c0ac16 Implement 'onShouldStartLoadWithRequest' prop
Summary:
@public

This diff introduces the native backend for a new WKWebView prop: `onShouldStartLoadWithRequest`.

In the final component, the behaviour will be as follows: Whenever the user navigates around in the web view, we call `onShouldStartLoadWithRequest` with the navigation event. If `onShouldStartLoadWithRequest` returns `true`, we continue the navigation. Otherwise, we abort it.

Reviewed By: shergin

Differential Revision: D6370317

fbshipit-source-id: e3cdd7e2a755125aebdb6df67e7b39116228bdfb
2018-08-16 16:52:44 -07:00
..
Base Correctly find rootView when RCTTouchHandler is in a RCTSurface 2018-08-13 11:32:17 -07:00
CxxBridge Add REGISTER_JS_SEGMENT perf markers 2018-08-10 09:37:42 -07:00
CxxModule iOS downgrade error to warning when invoking native module with invalid bridge 2018-08-14 18:19:01 -07:00
CxxUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DevSupport Hiding pre-bundled notification when not on dev mode 2018-07-17 07:17:09 -07:00
Fabric Fabric: Using `const &` pattern everywhere in RCTConversions 2018-08-04 09:47:30 -07:00
Inspector Show warning instead of error on duplicate connection 2018-08-02 03:16:33 -07:00
Modules Replace deprecated `UILineBreakModeWordWrap` with `NSLineBreakByWordWrapping` (#19791) 2018-07-15 00:16:32 -07:00
Profiler Fix memory usage display in Perf Monitor (#19664) 2018-08-09 12:46:47 -07:00
React.xcodeproj Added necessary headers and sources to fix compilation errors for tvOS target (#20406) 2018-07-30 20:16:19 -07:00
UIUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Views Implement 'onShouldStartLoadWithRequest' prop 2018-08-16 16:52:44 -07:00
third-party.xcconfig OSS: upgrade Folly 2016.09.26 => 2016.10.31 2018-04-13 17:33:23 -07:00