haikuwebkit/Source/WebKit/UIProcess/ios
Aditya Keerthi 95c1405b2b [macCatalyst] Crash when clicking a phone number link
https://bugs.webkit.org/show_bug.cgi?id=229344
rdar://81804638

Reviewed by Tim Horton.

Clicking on a phone number link should present data detection UI.
However, `-[WKActionSheetAssistant _elementActionForDDAction:]` always
returns nil on Catalyst, resulting in crash when attempting to add the
returned action to an NSArray.

Given that the methods used in `_elementActionForDDAction:` are available
on Catalyst, fix the crash by ensuring the method does not return nil, and
only making the method available on platforms where ENABLE(DATA_DETECTION)
is defined.

* UIProcess/ios/WKActionSheetAssistant.mm:
(-[WKActionSheetAssistant _elementActionForDDAction:]):


Canonical link: https://commits.webkit.org/240767@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-21 00:14:10 +00:00
..
forms Remove __has_include guard for _UIDatePickerOverlayPresentation 2021-08-19 23:13:51 +00:00
fullscreen Use Observer in place of VideoFullscreenManagerProxyClient 2021-08-04 23:47:46 +00:00
AppKitSoftLink.h
AppKitSoftLink.mm
DragDropInteractionState.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
DragDropInteractionState.mm Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
GestureRecognizerConsistencyEnforcer.h
GestureRecognizerConsistencyEnforcer.mm
InputViewUpdateDeferrer.h
InputViewUpdateDeferrer.mm
PageClientImplIOS.h [iOS] Remove support for the meaningful tap heuristic 2021-08-19 23:17:35 +00:00
PageClientImplIOS.mm [iOS] Remove support for the meaningful tap heuristic 2021-08-19 23:17:35 +00:00
ProcessAssertionIOS.mm Make sure the ProcessAssertion gets destroyed on the main thread 2021-07-26 17:53:42 +00:00
SmartMagnificationController.h
SmartMagnificationController.messages.in
SmartMagnificationController.mm Make WebKit's UserInterfaceIdiom operate in terms of the exceptions, not the rule 2021-07-13 02:05:38 +00:00
TextCheckerIOS.mm
ViewGestureControllerIOS.mm
WKActionSheet.h
WKActionSheet.mm
WKActionSheetAssistant.h Upstream WebKit support for Live Text 2021-06-07 22:11:29 +00:00
WKActionSheetAssistant.mm [macCatalyst] Crash when clicking a phone number link 2021-08-21 00:14:10 +00:00
WKApplicationStateTrackingView.h
WKApplicationStateTrackingView.mm
WKContentView.h WebKitBlobResource error 1 exactly after 60 seconds when trying to read file input 2021-08-11 00:12:16 +00:00
WKContentView.mm Fix iOS debug build after r280875 2021-08-11 20:00:46 +00:00
WKContentViewInteraction.h Replace the uint64_t used to identify taps with an ObjectIdentifier<> type 2021-08-19 22:48:25 +00:00
WKContentViewInteraction.mm Use Vector<SandboxExtension::Handle> instead of SandboxExtension::HandleArray 2021-08-19 23:02:50 +00:00
WKDeferringGestureRecognizer.h
WKDeferringGestureRecognizer.mm
WKGeolocationProviderIOS.h
WKGeolocationProviderIOS.mm
WKGeolocationProviderIOSObjCSecurityOrigin.mm
WKHighlightLongPressGestureRecognizer.h
WKHighlightLongPressGestureRecognizer.mm
WKHoverPlatter.h Add WKHoverPlatter and some knobs to tweak its appearance 2021-07-08 06:46:49 +00:00
WKHoverPlatter.mm Add WKHoverPlatter and some knobs to tweak its appearance 2021-07-08 06:46:49 +00:00
WKHoverPlatterParameters.h Add WKHoverPlatter and some knobs to tweak its appearance 2021-07-08 06:46:49 +00:00
WKHoverPlatterParameters.mm Disable WKHoverPlatter for now 2021-08-07 02:04:18 +00:00
WKImageAnalysisGestureRecognizer.h Upstream WebKit support for Live Text 2021-06-07 22:11:29 +00:00
WKImageAnalysisGestureRecognizer.mm [iOS 15] "Look Up" action is sometimes missing after force pressing images 2021-08-04 18:44:20 +00:00
WKKeyboardScrollingAnimator.h Refactor MacOS keyboard scrolling and use KeyboardScroll struct 2021-06-29 00:39:15 +00:00
WKKeyboardScrollingAnimator.mm Refactor MacOS keyboard scrolling and use KeyboardScroll struct 2021-06-29 00:39:15 +00:00
WKModelInteractionGestureRecognizer.h [Model] [iOS] Add support for manipulating <model> inline 2021-06-30 07:30:04 +00:00
WKModelInteractionGestureRecognizer.mm [Model] [iOS] Add support for manipulating <model> inline 2021-06-30 07:30:04 +00:00
WKModelView.h [Model] [iOS] Add support for manipulating <model> inline 2021-06-30 07:30:04 +00:00
WKModelView.mm [Model] [iOS] Add support for manipulating <model> inline 2021-06-30 07:30:04 +00:00
WKMouseDeviceObserver.h [macCatalyst] should have CSS `hover: hover` and `pointer: fine` 2021-05-12 03:55:46 +00:00
WKMouseDeviceObserver.mm [macCatalyst] should have CSS `hover: hover` and `pointer: fine` 2021-05-12 03:55:46 +00:00
WKMouseGestureRecognizer.h REGRESSION (r277820): Can't scroll up and down using trackpad in Mail message viewer when in Slide Over 2021-07-16 23:22:27 +00:00
WKMouseGestureRecognizer.mm REGRESSION (r277820): Can't scroll up and down using trackpad in Mail message viewer when in Slide Over 2021-07-16 23:22:27 +00:00
WKPDFPageNumberIndicator.h
WKPDFPageNumberIndicator.mm
WKPDFView.h
WKPDFView.mm Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
WKPasswordView.h
WKPasswordView.mm
WKScrollView.h [watchOS] Automatically apply system minimum layout margins as scroll view content insets 2021-06-24 21:41:25 +00:00
WKScrollView.mm [watchOS] Make a few additional adjustments to support system minimum layout margins 2021-07-12 16:15:13 +00:00
WKStylusDeviceObserver.h [macCatalyst] should have CSS `hover: hover` and `pointer: fine` 2021-05-12 03:55:46 +00:00
WKStylusDeviceObserver.mm [macCatalyst] should have CSS `hover: hover` and `pointer: fine` 2021-05-12 03:55:46 +00:00
WKSyntheticFlagsChangedWebEvent.h
WKSyntheticFlagsChangedWebEvent.mm
WKSyntheticTapGestureRecognizer.h
WKSyntheticTapGestureRecognizer.mm
WKSystemPreviewView.h
WKSystemPreviewView.mm
WKTextPlaceholder.h
WKTextPlaceholder.mm
WKTextSelectionRect.h
WKTextSelectionRect.mm Fix some unified build errors 2021-05-10 18:06:03 +00:00
WKTouchActionGestureRecognizer.h
WKTouchActionGestureRecognizer.mm
WKWebEvent.h
WKWebEvent.mm
WebDataListSuggestionsDropdownIOS.h
WebDataListSuggestionsDropdownIOS.mm [iOS 15] fast/events/touch/ios/long-press-on-link.html is a constant crash 2021-08-14 00:47:03 +00:00
WebDeviceOrientationUpdateProviderProxy.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
WebDeviceOrientationUpdateProviderProxy.messages.in
WebDeviceOrientationUpdateProviderProxy.mm Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
WebPageProxyIOS.mm [iOS] Remove support for the meaningful tap heuristic 2021-08-19 23:17:35 +00:00
WebProcessProxyIOS.mm [macCatalyst] should have CSS `hover: hover` and `pointer: fine` 2021-05-12 03:55:46 +00:00