Title: [202481] trunk/Tools
Revision
202481
Author
[email protected]
Date
2016-06-27 02:01:57 -0700 (Mon, 27 Jun 2016)

Log Message

[Win] The test fast/events/wheel-event-outside-body.html is timing out.
https://bugs.webkit.org/show_bug.cgi?id=159129

Reviewed by Alex Christensen.

Implement the function mouseScrollBy in the Windows event sender.

* DumpRenderTree/win/EventSender.cpp:
(mouseScrollBy):
(mouseScrollByWithWheelAndMomentumPhasesCallback):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (202480 => 202481)


--- trunk/Tools/ChangeLog	2016-06-27 08:28:30 UTC (rev 202480)
+++ trunk/Tools/ChangeLog	2016-06-27 09:01:57 UTC (rev 202481)
@@ -1,3 +1,16 @@
+2016-06-27  Per Arne Vollan  <[email protected]>
+
+        [Win] The test fast/events/wheel-event-outside-body.html is timing out.
+        https://bugs.webkit.org/show_bug.cgi?id=159129
+
+        Reviewed by Alex Christensen.
+
+        Implement the function mouseScrollBy in the Windows event sender.
+
+        * DumpRenderTree/win/EventSender.cpp:
+        (mouseScrollBy):
+        (mouseScrollByWithWheelAndMomentumPhasesCallback):
+
 2016-06-25  Filip Pizlo  <[email protected]>
 
         REGRESSION: Weak symbol warning when linking TestWebKitAPI

Modified: trunk/Tools/DumpRenderTree/win/EventSender.cpp (202480 => 202481)


--- trunk/Tools/DumpRenderTree/win/EventSender.cpp	2016-06-27 08:28:30 UTC (rev 202480)
+++ trunk/Tools/DumpRenderTree/win/EventSender.cpp	2016-06-27 09:01:57 UTC (rev 202481)
@@ -781,7 +781,7 @@
     return JSValueMakeUndefined(context);
 }
 
-static JSValueRef mouseScrollByWithWheelAndMomentumPhasesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef mouseScrollBy(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
 {
     if (argumentCount < 1)
         return JSValueMakeUndefined(context);
@@ -797,6 +797,11 @@
     return JSValueMakeUndefined(context);
 }
 
+static JSValueRef mouseScrollByWithWheelAndMomentumPhasesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+{
+    return mouseScrollBy(context, function, thisObject, argumentCount, arguments, exception);
+}
+
 static JSStaticFunction staticFunctions[] = {
     { "contextClick", contextClickCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
     { "mouseDown", mouseDownCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
@@ -811,6 +816,7 @@
     { "zoomPageOut", zoomPageOutCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
     { "beginDragWithFiles", beginDragWithFilesCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
     { "scalePageBy", scalePageByCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
+    { "mouseScrollBy", mouseScrollBy, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
     { "mouseScrollByWithWheelAndMomentumPhases", mouseScrollByWithWheelAndMomentumPhasesCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
     { 0, 0, 0 }
 };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to