RESOLVED FIXED 159342
[Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.
https://bugs.webkit.org/show_bug.cgi?id=159342
Summary [Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.
Per Arne Vollan
Reported 2016-07-01 04:12:52 PDT
We need to implement the event sender functions monitorWheelEvents and callAfterScrollingCompletes.
Attachments
Patch (7.82 KB, patch)
2016-07-01 04:26 PDT, Per Arne Vollan
no flags
Patch (6.54 KB, patch)
2016-07-04 02:49 PDT, Per Arne Vollan
no flags
Patch (5.32 KB, patch)
2016-07-18 06:54 PDT, Per Arne Vollan
darin: review+
Per Arne Vollan
Comment 1 2016-07-01 04:26:36 PDT
Per Arne Vollan
Comment 2 2016-07-04 02:49:08 PDT
Brent Fulgham
Comment 3 2016-07-07 11:44:52 PDT
Comment on attachment 282698 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=282698&action=review > Source/WebCore/ChangeLog:9 > + Implement a way to find the core Frame from the document list. Did you try using the "core(WebFrame*)" function? I think this would do what you want, and be consistent with how the macOS version of this works. > Source/WebCore/testing/js/WebCoreTestSupport.h:54 > +void setTestCallbackAndStartNotificationTimer(JSContextRef, JSObjectRef) TEST_SUPPORT_EXPORT; You might not need this... > Tools/DumpRenderTree/win/EventSender.cpp:827 > + WebCoreTestSupport::setTestCallbackAndStartNotificationTimer(globalContext, jsCallbackFunction); Could you pass the WebCore::Frame backing the IWebFrame object to the existing WebCoreTestSupport::setTestCallbackAndStartNotificationTimer? See the "core(WebFrame*)" method in WebFrame.h.
Per Arne Vollan
Comment 4 2016-07-12 06:36:06 PDT
(In reply to comment #3) > Comment on attachment 282698 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=282698&action=review > > > Source/WebCore/ChangeLog:9 > > + Implement a way to find the core Frame from the document list. > > Did you try using the "core(WebFrame*)" function? I think this would do what > you want, and be consistent with how the macOS version of this works. > > > Source/WebCore/testing/js/WebCoreTestSupport.h:54 > > +void setTestCallbackAndStartNotificationTimer(JSContextRef, JSObjectRef) TEST_SUPPORT_EXPORT; > > You might not need this... > > > Tools/DumpRenderTree/win/EventSender.cpp:827 > > + WebCoreTestSupport::setTestCallbackAndStartNotificationTimer(globalContext, jsCallbackFunction); > > Could you pass the WebCore::Frame backing the IWebFrame object to the > existing WebCoreTestSupport::setTestCallbackAndStartNotificationTimer? > > See the "core(WebFrame*)" method in WebFrame.h. I would like to use this, although wouldn't this mean crossing some boundary, since WebFrame and WebCore::Frame are not part of the COM api? Thanks for reviewing!
Per Arne Vollan
Comment 5 2016-07-18 06:54:02 PDT
Per Arne Vollan
Comment 6 2016-07-19 04:00:22 PDT
Thanks for reviewing!
Per Arne Vollan
Comment 7 2016-07-19 04:01:56 PDT
Note You need to log in before you can comment on or make changes to this bug.