REOPENED 157179
[GTK] Drag and drop can't be tested with WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=157179
Summary [GTK] Drag and drop can't be tested with WebKitTestRunner
Carlos Garcia Campos
Reported 2016-04-29 06:24:39 PDT
The problem is that GTK+ is emitting the drag and drop events, because the drag and drop context is not handling the synthetic events generated by the EventSenderProxy. So, for example, when we generate a GDK_MOTION_NOTIFY by EventSenderProxy::mouseMoveTo(), the GdkDragContext doesn't handle that event and DRAG_MOTION is not called preventing the rest of the drag and drop protocol from working properly. So, in our tests we are never emitting the ondragenter and ondragover. I don't know if we can emulate it somehow, but we currently have several tests in the TestExpectation file pointing to a fixed bug, so we should at least update them to point to this bug.
Attachments
Carlos Garcia Campos
Comment 1 2016-05-03 02:08:58 PDT
Carlos Garcia Campos
Comment 2 2016-05-03 02:11:25 PDT
webkit-patch closed this, I just updated the test expectations in r200366, re-opening.
Michael Catanzaro
Comment 3 2016-10-16 20:29:26 PDT
Layout test plugins/mouse-events.html, marked against this bug, has been timing out for a while now, first recorded in r191879. Updating expectations accordingly.
Carlos Garcia Campos
Comment 4 2017-02-11 04:19:47 PST
It seems in wayland dnd events are generated, but ends up crashing. Probably because synthesized events generated them, but I don't really know.
Carlos Alberto Lopez Perez
Comment 5 2017-03-07 09:08:12 PST
Miguel Gomez
Comment 6 2019-06-13 06:00:38 PDT
Adding proper expectations for these tests: webkit.org/b/157179 editing/pasteboard/4989774.html [ Failure Pass ] webkit.org/b/157179 editing/pasteboard/paste-line-endings-002.html [ Failure Pass ] webkit.org/b/157179 editing/pasteboard/paste-list-002.html [ Failure Pass ] webkit.org/b/157179 editing/pasteboard/paste-list-003.html [ Failure Pass ]
Miguel Gomez
Comment 7 2019-06-13 06:57:26 PDT
(In reply to Miguel Gomez from comment #6) > Adding proper expectations for these tests: > > webkit.org/b/157179 editing/pasteboard/4989774.html [ Failure Pass ] > webkit.org/b/157179 editing/pasteboard/paste-line-endings-002.html [ Failure > Pass ] > webkit.org/b/157179 editing/pasteboard/paste-list-002.html [ Failure Pass ] > webkit.org/b/157179 editing/pasteboard/paste-list-003.html [ Failure Pass ] I've moved these to https://bugs.webkit.org/show_bug.cgi?id=198828 in the expectations, as I think they aren't related to drag&drop
Carlos Garcia Campos
Comment 8 2019-10-14 00:42:24 PDT
*** Bug 202898 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.