[iOS] Turn mouse event simulation on by default
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Mar 2019 00:50:06 +0000 (00:50 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Mar 2019 00:50:06 +0000 (00:50 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195218
<rdar://problem/48516794>

Patch by Antoine Quint <graouts@apple.com> on 2019-03-01
Reviewed by Dean Jackson.

Source/WebCore:

* page/RuntimeEnabledFeatures.h:

Source/WebKit:

* Shared/WebPreferences.yaml:

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

Source/WebCore/ChangeLog
Source/WebCore/page/RuntimeEnabledFeatures.h
Source/WebKit/ChangeLog
Source/WebKit/Shared/WebPreferences.yaml

index 01f3d7b..34e4721 100644 (file)
@@ -1,3 +1,13 @@
+2019-03-01  Antoine Quint  <graouts@apple.com>
+
+        [iOS] Turn mouse event simulation on by default
+        https://bugs.webkit.org/show_bug.cgi?id=195218
+        <rdar://problem/48516794>
+
+        Reviewed by Dean Jackson.
+
+        * page/RuntimeEnabledFeatures.h:
+
 2019-03-01  Chris Dumez  <cdumez@apple.com>
 
         Disable NetworkStateNotifier::singleton()'s isMainThread() assertion when the WebThread is enabled
index a5e3acb..54fb6bb 100644 (file)
@@ -530,7 +530,7 @@ private:
     bool m_adClickAttributionEnabled { false };
 
 #if ENABLE(TOUCH_EVENTS)
-    bool m_mouseEventsSimulationEnabled { false };
+    bool m_mouseEventsSimulationEnabled { true };
     bool m_mousemoveEventHandlingPreventsDefaultEnabled { false };
 #endif
 
index e9b2b10..a3c29ac 100644 (file)
@@ -1,3 +1,13 @@
+2019-03-01  Antoine Quint  <graouts@apple.com>
+
+        [iOS] Turn mouse event simulation on by default
+        https://bugs.webkit.org/show_bug.cgi?id=195218
+        <rdar://problem/48516794>
+
+        Reviewed by Dean Jackson.
+
+        * Shared/WebPreferences.yaml:
+
 2019-03-01  Ross Kirsling  <ross.kirsling@sony.com>
 
         EnvironmentUtilities::stripValuesEndingWithString isn't thread-safe
index 36bf8f5..f558432 100644 (file)
@@ -1539,7 +1539,7 @@ DOMPasteAccessRequestsEnabled:
 
 MouseEventsSimulationEnabled:
   type: bool
-  defaultValue: false
+  defaultValue: true
   humanReadableName: "Mouse events simulation"
   humanReadableDescription: "Enable mouse events dispatch along with touch events on iOS"
   webcoreBinding: RuntimeEnabledFeatures