Title: [256228] trunk/Source/WebCore
Revision
256228
Author
[email protected]
Date
2020-02-10 16:22:20 -0800 (Mon, 10 Feb 2020)

Log Message

[iOS] REGRESSION (r255592): The simulated mouse event dispatch quirk should not be on by default
https://bugs.webkit.org/show_bug.cgi?id=207513
<rdar://problem/59326119>

Reviewed by Tim Horton.

Turn `shouldDispatchSimulatedMouseEvents` back off by default (r255592 enabled it by default on all web pages).

* page/Quirks.cpp:
(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (256227 => 256228)


--- trunk/Source/WebCore/ChangeLog	2020-02-11 00:12:52 UTC (rev 256227)
+++ trunk/Source/WebCore/ChangeLog	2020-02-11 00:22:20 UTC (rev 256228)
@@ -1,3 +1,16 @@
+2020-02-10  Wenson Hsieh  <[email protected]>
+
+        [iOS] REGRESSION (r255592): The simulated mouse event dispatch quirk should not be on by default
+        https://bugs.webkit.org/show_bug.cgi?id=207513
+        <rdar://problem/59326119>
+
+        Reviewed by Tim Horton.
+
+        Turn `shouldDispatchSimulatedMouseEvents` back off by default (r255592 enabled it by default on all web pages).
+
+        * page/Quirks.cpp:
+        (WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
+
 2020-02-10  Basuke Suzuki  <[email protected]>
 
         [WebCore] Shrink Vectors passed to SharedBuffer

Modified: trunk/Source/WebCore/page/Quirks.cpp (256227 => 256228)


--- trunk/Source/WebCore/page/Quirks.cpp	2020-02-11 00:12:52 UTC (rev 256227)
+++ trunk/Source/WebCore/page/Quirks.cpp	2020-02-11 00:22:20 UTC (rev 256228)
@@ -342,8 +342,9 @@
             // FIXME: Maybe this quirk should be disabled for "m." subdomains on all sites? These are generally mobile sites that don't need mouse events.
             if (host == "m.naver.com")
                 return false;
+            return true;
         }
-        return true;
+        return false;
     };
 
     if (!m_shouldDispatchSimulatedMouseEventsQuirk)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to