From 94343609195489d85e85d5cfbc21e134c1318565 Mon Sep 17 00:00:00 2001 From: "commit-queue@webkit.org" Date: Sat, 2 Mar 2019 00:50:06 +0000 Subject: [PATCH] [iOS] Turn mouse event simulation on by default https://bugs.webkit.org/show_bug.cgi?id=195218 Patch by Antoine Quint 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 | 10 ++++++++++ Source/WebCore/page/RuntimeEnabledFeatures.h | 2 +- Source/WebKit/ChangeLog | 10 ++++++++++ Source/WebKit/Shared/WebPreferences.yaml | 2 +- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 01f3d7b..34e4721 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,13 @@ +2019-03-01 Antoine Quint + + [iOS] Turn mouse event simulation on by default + https://bugs.webkit.org/show_bug.cgi?id=195218 + + + Reviewed by Dean Jackson. + + * page/RuntimeEnabledFeatures.h: + 2019-03-01 Chris Dumez Disable NetworkStateNotifier::singleton()'s isMainThread() assertion when the WebThread is enabled diff --git a/Source/WebCore/page/RuntimeEnabledFeatures.h b/Source/WebCore/page/RuntimeEnabledFeatures.h index a5e3acb..54fb6bb 100644 --- a/Source/WebCore/page/RuntimeEnabledFeatures.h +++ b/Source/WebCore/page/RuntimeEnabledFeatures.h @@ -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 diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog index e9b2b10..a3c29ac 100644 --- a/Source/WebKit/ChangeLog +++ b/Source/WebKit/ChangeLog @@ -1,3 +1,13 @@ +2019-03-01 Antoine Quint + + [iOS] Turn mouse event simulation on by default + https://bugs.webkit.org/show_bug.cgi?id=195218 + + + Reviewed by Dean Jackson. + + * Shared/WebPreferences.yaml: + 2019-03-01 Ross Kirsling EnvironmentUtilities::stripValuesEndingWithString isn't thread-safe diff --git a/Source/WebKit/Shared/WebPreferences.yaml b/Source/WebKit/Shared/WebPreferences.yaml index 36bf8f5..f558432 100644 --- a/Source/WebKit/Shared/WebPreferences.yaml +++ b/Source/WebKit/Shared/WebPreferences.yaml @@ -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 -- 1.8.3.1