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

Changeset 248985 in webkit


Ignore:
Timestamp:
Aug 21, 2019, 6:25:36 PM (7 years ago)
Author:
Kocsen Chung
Message:

Cherry-pick r248944. rdar://problem/54579628

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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248944 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-608-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-608-branch/Source/WebCore/ChangeLog

    r248936 r248985  
     12019-08-21  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Cherry-pick r248944. rdar://problem/54579628
     4
     5    REGRESSION: naver.com - Multiple taps are required to open email
     6    https://bugs.webkit.org/show_bug.cgi?id=200979
     7    <rdar://problem/54295239>
     8   
     9    Patch by Antoine Quint <graouts@apple.com> on 2019-08-21
     10    Reviewed by Dean Jackson.
     11   
     12    The "click" events on subjects in the message list are prevented by preventDefault() being called from a "mouseup" event listener.
     13    This shouldn't actually happen, but due to how simulated mouse events are implemented, there is no current distinction between
     14    "touchend" and "mouseup" events. It is safe however to opt mail.naver.com out of simulated mouse events altogether.
     15   
     16    * page/Quirks.cpp:
     17    (WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
     18   
     19    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     20
     21    2019-08-21  Antoine Quint  <graouts@apple.com>
     22
     23            REGRESSION: naver.com - Multiple taps are required to open email
     24            https://bugs.webkit.org/show_bug.cgi?id=200979
     25            <rdar://problem/54295239>
     26
     27            Reviewed by Dean Jackson.
     28
     29            The "click" events on subjects in the message list are prevented by preventDefault() being called from a "mouseup" event listener.
     30            This shouldn't actually happen, but due to how simulated mouse events are implemented, there is no current distinction between
     31            "touchend" and "mouseup" events. It is safe however to opt mail.naver.com out of simulated mouse events altogether.
     32
     33            * page/Quirks.cpp:
     34            (WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
     35
    1362019-08-20  Babak Shafiei  <bshafiei@apple.com>
    237
  • branches/safari-608-branch/Source/WebCore/page/Quirks.cpp

    r248629 r248985  
    324324        if (equalLettersIgnoringASCIICase(host, "tv.naver.com"))
    325325            return false;
     326        // Disable the quirk for mail.naver.com subdomain to be able to tap on mail subjects.
     327        if (equalLettersIgnoringASCIICase(host, "mail.naver.com"))
     328            return false;
    326329        // Disable the quirk on the mobile site.
    327330        // 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.