Changeset 245005 in webkit


Ignore:
Timestamp:
May 7, 2019 2:50:15 AM (5 years ago)
Author:
graouts@webkit.org
Message:

Mouse event simulation should be limited to the graphing calculator on Desmos.com
https://bugs.webkit.org/show_bug.cgi?id=197652
<rdar://problem/47068176>

Reviewed by Antti Koivisto.

  • page/Quirks.cpp:

(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r245000 r245005  
     12019-05-07  Antoine Quint  <graouts@apple.com>
     2
     3        Mouse event simulation should be limited to the graphing calculator on Desmos.com
     4        https://bugs.webkit.org/show_bug.cgi?id=197652
     5        <rdar://problem/47068176>
     6
     7        Reviewed by Antti Koivisto.
     8
     9        * page/Quirks.cpp:
     10        (WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
     11
    1122019-05-06  James Savage  <james.savage@apple.com>
    213
  • trunk/Source/WebCore/page/Quirks.cpp

    r244944 r245005  
    263263    if (equalLettersIgnoringASCIICase(host, "wix.com") || host.endsWithIgnoringASCIICase(".wix.com"))
    264264        return true;
    265     if (equalLettersIgnoringASCIICase(host, "desmos.com") || host.endsWithIgnoringASCIICase(".desmos.com"))
     265    if ((equalLettersIgnoringASCIICase(host, "desmos.com") || host.endsWithIgnoringASCIICase(".desmos.com")) && url.path().startsWithIgnoringASCIICase("/calculator/"))
    266266        return true;
    267267    if (equalLettersIgnoringASCIICase(host, "figma.com") || host.endsWithIgnoringASCIICase(".figma.com"))
Note: See TracChangeset for help on using the changeset viewer.