Title: [176460] trunk/Source/WebKit2
Revision
176460
Author
[email protected]
Date
2014-11-21 12:11:47 -0800 (Fri, 21 Nov 2014)

Log Message

REGRESSION (r176238): Mailto links are getting preloaded, which results in a compose window
https://bugs.webkit.org/show_bug.cgi?id=138972

Reviewed by Beth Dakin.

* UIProcess/mac/WKActionMenuController.mm:
(-[WKActionMenuController willOpenMenu:withEvent:]):
Only preload links.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (176459 => 176460)


--- trunk/Source/WebKit2/ChangeLog	2014-11-21 20:10:13 UTC (rev 176459)
+++ trunk/Source/WebKit2/ChangeLog	2014-11-21 20:11:47 UTC (rev 176460)
@@ -1,3 +1,14 @@
+2014-11-21  Tim Horton  <[email protected]>
+
+        REGRESSION (r176238): Mailto links are getting preloaded, which results in a compose window
+        https://bugs.webkit.org/show_bug.cgi?id=138972
+
+        Reviewed by Beth Dakin.
+
+        * UIProcess/mac/WKActionMenuController.mm:
+        (-[WKActionMenuController willOpenMenu:withEvent:]):
+        Only preload links.
+
 2014-11-21  Anders Carlsson  <[email protected]>
 
         Remove the Timer parameters from timer callbacks

Modified: trunk/Source/WebKit2/UIProcess/mac/WKActionMenuController.mm (176459 => 176460)


--- trunk/Source/WebKit2/UIProcess/mac/WKActionMenuController.mm	2014-11-21 20:10:13 UTC (rev 176459)
+++ trunk/Source/WebKit2/UIProcess/mac/WKActionMenuController.mm	2014-11-21 20:11:47 UTC (rev 176460)
@@ -210,10 +210,12 @@
         return;
     }
 
-    if (![self isMenuForTextContent]) {
 #if WK_API_ENABLED
+    if (_type == kWKActionMenuLink)
         [self _createPreviewPopover];
 #endif
+
+    if (![self isMenuForTextContent]) {
         _page->clearSelection();
         return;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to