Title: [247765] branches/safari-608.1-branch/Source/WebKit
Revision
247765
Author
[email protected]
Date
2019-07-23 20:05:26 -0700 (Tue, 23 Jul 2019)

Log Message

Revert r247700. rdar://problem/53456070

Modified Paths

Diff

Modified: branches/safari-608.1-branch/Source/WebKit/ChangeLog (247764 => 247765)


--- branches/safari-608.1-branch/Source/WebKit/ChangeLog	2019-07-24 01:42:37 UTC (rev 247764)
+++ branches/safari-608.1-branch/Source/WebKit/ChangeLog	2019-07-24 03:05:26 UTC (rev 247765)
@@ -1,5 +1,9 @@
 2019-07-23  Kocsen Chung  <[email protected]>
 
+        Revert r247700. rdar://problem/53456070
+
+2019-07-23  Kocsen Chung  <[email protected]>
+
         Cherry-pick r247701. rdar://problem/53449750
 
     Correct web audio-related crash in seed reports

Modified: branches/safari-608.1-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (247764 => 247765)


--- branches/safari-608.1-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-07-24 01:42:37 UTC (rev 247764)
+++ branches/safari-608.1-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-07-24 03:05:26 UTC (rev 247765)
@@ -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

Reply via email to