Title: [221171] trunk/Tools
Revision
221171
Author
achristen...@apple.com
Date
2017-08-24 17:05:56 -0700 (Thu, 24 Aug 2017)

Log Message

didNotHandleWheelEvent test times out
https://bugs.webkit.org/show_bug.cgi?id=175967

* TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm:
Skip the test until WebCore's wheel event handling is reliable enough to test.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (221170 => 221171)


--- trunk/Tools/ChangeLog	2017-08-24 23:52:14 UTC (rev 221170)
+++ trunk/Tools/ChangeLog	2017-08-25 00:05:56 UTC (rev 221171)
@@ -1,3 +1,11 @@
+2017-08-24  Alex Christensen  <achristen...@webkit.org>
+
+        didNotHandleWheelEvent test times out
+        https://bugs.webkit.org/show_bug.cgi?id=175967
+
+        * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm:
+        Skip the test until WebCore's wheel event handling is reliable enough to test.
+
 2017-08-24  Jonathan Bedard  <jbed...@apple.com>
 
         Update configure-xcode-for-ios-development for iOS 11

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm (221170 => 221171)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm	2017-08-24 23:52:14 UTC (rev 221170)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm	2017-08-25 00:05:56 UTC (rev 221171)
@@ -136,6 +136,11 @@
     ASSERT_EQ(takenDirection, WKFocusDirectionBackward);
 }
 
+#define RELIABLE_DID_NOT_HANDLE_WHEEL_EVENT 0
+// FIXME: make wheel event handling more reliable.
+// https://bugs.webkit.org/show_bug.cgi?id=175967
+#if RELIABLE_DID_NOT_HANDLE_WHEEL_EVENT
+
 static void synthesizeWheelEvents(NSView *view, int x, int y)
 {
     RetainPtr<CGEventRef> cgScrollEvent = adoptCF(CGEventCreateScrollWheelEvent(nullptr, kCGScrollEventUnitLine, 2, y, x));
@@ -175,6 +180,8 @@
     TestWebKitAPI::Util::run(&done);
 }
 
+#endif // RELIABLE_DID_NOT_HANDLE_WHEEL_EVENT
+
 #endif // PLATFORM(MAC)
 
 #endif // WK_API_ENABLED
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to