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

Changeset 248944 in webkit


Ignore:
Timestamp:
Aug 21, 2019, 9:52:45 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION: naver.com - Multiple taps are required to open email
https://bugs.webkit.org/show_bug.cgi?id=200979
<rdar://problem/54295239>

Patch by Antoine Quint <Antoine Quint> on 2019-08-21
Reviewed by Dean Jackson.

The "click" events on subjects in the message list are prevented by preventDefault() being called from a "mouseup" event listener.
This shouldn't actually happen, but due to how simulated mouse events are implemented, there is no current distinction between
"touchend" and "mouseup" events. It is safe however to opt mail.naver.com out of simulated mouse events altogether.

  • page/Quirks.cpp:

(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r248943 r248944  
     12019-08-21  Antoine Quint  <graouts@apple.com>
     2
     3        REGRESSION: naver.com - Multiple taps are required to open email
     4        https://bugs.webkit.org/show_bug.cgi?id=200979
     5        <rdar://problem/54295239>
     6
     7        Reviewed by Dean Jackson.
     8
     9        The "click" events on subjects in the message list are prevented by preventDefault() being called from a "mouseup" event listener.
     10        This shouldn't actually happen, but due to how simulated mouse events are implemented, there is no current distinction between
     11        "touchend" and "mouseup" events. It is safe however to opt mail.naver.com out of simulated mouse events altogether.
     12
     13        * page/Quirks.cpp:
     14        (WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
     15
    1162019-08-21  Devin Rousso  <drousso@apple.com>
    217
  • trunk/Source/WebCore/page/Quirks.cpp

    r248502 r248944  
    328328        if (equalLettersIgnoringASCIICase(host, "tv.naver.com"))
    329329            return false;
     330        // Disable the quirk for mail.naver.com subdomain to be able to tap on mail subjects.
     331        if (equalLettersIgnoringASCIICase(host, "mail.naver.com"))
     332            return false;
    330333        // Disable the quirk on the mobile site.
    331334        // FIXME: Maybe this quirk should be disabled for "m." subdomains on all sites? These are generally mobile sites that don't need mouse events.
Note: See TracChangeset for help on using the changeset viewer.