Title: [244375] trunk/Source/WebCore
Revision
244375
Author
[email protected]
Date
2019-04-17 00:36:35 -0700 (Wed, 17 Apr 2019)

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (244374 => 244375)


--- trunk/Source/WebCore/ChangeLog	2019-04-17 07:33:51 UTC (rev 244374)
+++ trunk/Source/WebCore/ChangeLog	2019-04-17 07:36:35 UTC (rev 244375)
@@ -1,5 +1,18 @@
 2019-04-16  Antoine Quint  <[email protected]>
 
+        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):
+
+2019-04-16  Antoine Quint  <[email protected]>
+
         Opt flipkart.com into simulated mouse events dispatch quirk
         https://bugs.webkit.org/show_bug.cgi?id=196961
         <rdar://problem/49648520>

Modified: trunk/Source/WebCore/page/Quirks.cpp (244374 => 244375)


--- trunk/Source/WebCore/page/Quirks.cpp	2019-04-17 07:33:51 UTC (rev 244374)
+++ trunk/Source/WebCore/page/Quirks.cpp	2019-04-17 07:36:35 UTC (rev 244375)
@@ -224,7 +224,7 @@
         return true;
     if (equalLettersIgnoringASCIICase(host, "flipkart.com") || host.endsWithIgnoringASCIICase(".flipkart.com"))
         return true;
-    if (equalLettersIgnoringASCIICase(host, "maps.google.com"))
+    if (equalLettersIgnoringASCIICase(host, "www.google.com") && url.path().startsWithIgnoringASCIICase("/maps/"))
         return true;
     if (equalLettersIgnoringASCIICase(host, "trailers.apple.com"))
         return true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to