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

Changeset 244375 in webkit


Ignore:
Timestamp:
Apr 17, 2019, 12:36:35 AM (7 years ago)
Author:
graouts@webkit.org
Message:

Opt Google Maps into simulated mouse events dispatch quirk
https://bugs.webkit.org/show_bug.cgi?id=196965
<rdar://problem/49934766>

Reviewed by Dean Jackson.

Use the correct Google Maps path.

  • page/Quirks.cpp:

(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r244374 r244375  
     12019-04-16  Antoine Quint  <graouts@apple.com>
     2
     3        Opt Google Maps into simulated mouse events dispatch quirk
     4        https://bugs.webkit.org/show_bug.cgi?id=196965
     5        <rdar://problem/49934766>
     6
     7        Reviewed by Dean Jackson.
     8
     9        Use the correct Google Maps path.
     10
     11        * page/Quirks.cpp:
     12        (WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
     13
    1142019-04-16  Antoine Quint  <graouts@apple.com>
    215
  • trunk/Source/WebCore/page/Quirks.cpp

    r244374 r244375  
    225225    if (equalLettersIgnoringASCIICase(host, "flipkart.com") || host.endsWithIgnoringASCIICase(".flipkart.com"))
    226226        return true;
    227     if (equalLettersIgnoringASCIICase(host, "maps.google.com"))
     227    if (equalLettersIgnoringASCIICase(host, "www.google.com") && url.path().startsWithIgnoringASCIICase("/maps/"))
    228228        return true;
    229229    if (equalLettersIgnoringASCIICase(host, "trailers.apple.com"))
Note: See TracChangeset for help on using the changeset viewer.