Title: [247771] branches/safari-608-branch/Source/WebKit
- Revision
- 247771
- Author
- [email protected]
- Date
- 2019-07-24 10:14:20 -0700 (Wed, 24 Jul 2019)
Log Message
Revert r247700. rdar://problem/53456070
Modified Paths
Diff
Modified: branches/safari-608-branch/Source/WebKit/ChangeLog (247770 => 247771)
--- branches/safari-608-branch/Source/WebKit/ChangeLog 2019-07-24 17:10:28 UTC (rev 247770)
+++ branches/safari-608-branch/Source/WebKit/ChangeLog 2019-07-24 17:14:20 UTC (rev 247771)
@@ -1,3 +1,7 @@
+2019-07-24 Alan Coon <[email protected]>
+
+ Revert r247700. rdar://problem/53456070
+
2019-07-23 Alan Coon <[email protected]>
Revert r247672. rdar://problem/53449739
Modified: branches/safari-608-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (247770 => 247771)
--- branches/safari-608-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-07-24 17:10:28 UTC (rev 247770)
+++ branches/safari-608-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-07-24 17:14:20 UTC (rev 247771)
@@ -7585,9 +7585,6 @@
static bool needsDeprecatedPreviewAPI(id<WKUIDelegate> delegate)
{
// FIXME: Replace these with booleans in UIDelegate.h.
- // Note that we explicitly do not test for @selector(_webView:contextMenuDidEndForElement:) since
- // that's used by MobileSafari to clean up state even though they haven't moved to the new API.
-
return delegate
&& ![delegate respondsToSelector:@selector(_webView:contextMenuConfigurationForElement:completionHandler:)]
&& ![delegate respondsToSelector:@selector(webView:contextMenuConfigurationForElement:completionHandler:)]
@@ -7595,6 +7592,7 @@
&& ![delegate respondsToSelector:@selector(webView:contextMenuForElement:willCommitWithAnimator:)]
&& ![delegate respondsToSelector:@selector(_webView:contextMenuWillPresentForElement:)]
&& ![delegate respondsToSelector:@selector(webView:contextMenuWillPresentForElement:)]
+ && ![delegate respondsToSelector:@selector(_webView:contextMenuDidEndForElement:)]
&& ![delegate respondsToSelector:@selector(webView:contextMenuDidEndForElement:)]
&& ([delegate respondsToSelector:@selector(webView:shouldPreviewElement:)]
|| [delegate respondsToSelector:@selector(webView:previewingViewControllerForElement:defaultActions:)]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes