Title: [194157] trunk/Tools
Revision
194157
Author
[email protected]
Date
2015-12-16 10:32:22 -0800 (Wed, 16 Dec 2015)

Log Message

[mac-wk2] fast/events force click tests crashing
https://bugs.webkit.org/show_bug.cgi?id=152339

Reviewed by Beth Dakin.

* WebKitTestRunner/mac/EventSenderProxy.mm:
(-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
Set the NSEvent's _type member in addition to overriding -type,
because there are assertions in touch event handling code that depend on it.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (194156 => 194157)


--- trunk/Tools/ChangeLog	2015-12-16 18:25:00 UTC (rev 194156)
+++ trunk/Tools/ChangeLog	2015-12-16 18:32:22 UTC (rev 194157)
@@ -1,3 +1,15 @@
+2015-12-16  Tim Horton  <[email protected]>
+
+        [mac-wk2] fast/events force click tests crashing
+        https://bugs.webkit.org/show_bug.cgi?id=152339
+
+        Reviewed by Beth Dakin.
+
+        * WebKitTestRunner/mac/EventSenderProxy.mm:
+        (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
+        Set the NSEvent's _type member in addition to overriding -type,
+        because there are assertions in touch event handling code that depend on it.
+
 2015-12-16  Youenn Fablet  <[email protected]>
 
         Enforce temporarily bots to sync WebKit and WPT testharness.js

Modified: trunk/Tools/WebKitTestRunner/mac/EventSenderProxy.mm (194156 => 194157)


--- trunk/Tools/WebKitTestRunner/mac/EventSenderProxy.mm	2015-12-16 18:25:00 UTC (rev 194156)
+++ trunk/Tools/WebKitTestRunner/mac/EventSenderProxy.mm	2015-12-16 18:32:22 UTC (rev 194157)
@@ -111,6 +111,7 @@
     _eventSender_eventNumber = eventNumber;
     _eventSender_window = window;
 #if defined(__LP64__) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101003
+    self->_type = NSEventTypePressure;
     _eventSender_type = NSEventTypePressure;
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to