Title: [209192] trunk/Tools
Revision
209192
Author
bda...@apple.com
Date
2016-12-01 12:12:38 -0800 (Thu, 01 Dec 2016)

Log Message

Force clicking tests fail on some machines
https://bugs.webkit.org/show_bug.cgi?id=165263

Reviewed by Tim Horton.

Initialize com.apple.trackpad.forceClick to 1 so that we don’t have to depend on 
the user account having this feature enabled. 
* WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
(WTR::InjectedBundle::platformInitialize):
* WebKitTestRunner/mac/main.mm:
(setDefaultsToConsistentValuesForTesting):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (209191 => 209192)


--- trunk/Tools/ChangeLog	2016-12-01 19:42:30 UTC (rev 209191)
+++ trunk/Tools/ChangeLog	2016-12-01 20:12:38 UTC (rev 209192)
@@ -1,3 +1,17 @@
+2016-12-01  Beth Dakin  <bda...@apple.com>
+
+        Force clicking tests fail on some machines
+        https://bugs.webkit.org/show_bug.cgi?id=165263
+
+        Reviewed by Tim Horton.
+
+        Initialize com.apple.trackpad.forceClick to 1 so that we don’t have to depend on 
+        the user account having this feature enabled. 
+        * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
+        (WTR::InjectedBundle::platformInitialize):
+        * WebKitTestRunner/mac/main.mm:
+        (setDefaultsToConsistentValuesForTesting):
+
 2016-12-01  Yusuke Suzuki  <utatane....@gmail.com>
 
         Introduce StringImpl::StaticStringImpl with constexpr constructor

Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm (209191 => 209192)


--- trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm	2016-12-01 19:42:30 UTC (rev 209191)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm	2016-12-01 20:12:38 UTC (rev 209192)
@@ -81,6 +81,7 @@
 #endif
         @"AppleEnableSwipeNavigateWithScrolls": @YES,
         @"com.apple.swipescrolldirection": @1,
+        @"com.apple.trackpad.forceClick": @1,
     };
 
     [[NSUserDefaults standardUserDefaults] setVolatileDomain:dict forName:NSArgumentDomain];

Modified: trunk/Tools/WebKitTestRunner/mac/main.mm (209191 => 209192)


--- trunk/Tools/WebKitTestRunner/mac/main.mm	2016-12-01 19:42:30 UTC (rev 209191)
+++ trunk/Tools/WebKitTestRunner/mac/main.mm	2016-12-01 20:12:38 UTC (rev 209192)
@@ -40,6 +40,7 @@
         @"NSFakeForceTouchDevice" : @YES,
         @"AppleEnableSwipeNavigateWithScrolls": @YES,
         @"com.apple.swipescrolldirection": @1,
+        @"com.apple.trackpad.forceClick": @1,
     };
 
     [[NSUserDefaults standardUserDefaults] setValuesForKeysWithDictionary:dict];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to