⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176460 in webkit


Ignore:
Timestamp:
Nov 21, 2014, 12:11:47 PM (12 years ago)
Author:
timothy_horton@apple.com
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.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r176459 r176460  
     12014-11-21  Tim Horton  <timothy_horton@apple.com>
     2
     3        REGRESSION (r176238): Mailto links are getting preloaded, which results in a compose window
     4        https://bugs.webkit.org/show_bug.cgi?id=138972
     5
     6        Reviewed by Beth Dakin.
     7
     8        * UIProcess/mac/WKActionMenuController.mm:
     9        (-[WKActionMenuController willOpenMenu:withEvent:]):
     10        Only preload links.
     11
    1122014-11-21  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/UIProcess/mac/WKActionMenuController.mm

    r176430 r176460  
    211211    }
    212212
    213     if (![self isMenuForTextContent]) {
    214213#if WK_API_ENABLED
     214    if (_type == kWKActionMenuLink)
    215215        [self _createPreviewPopover];
    216216#endif
     217
     218    if (![self isMenuForTextContent]) {
    217219        _page->clearSelection();
    218220        return;
Note: See TracChangeset for help on using the changeset viewer.