Bug 52094
Summary: | [GTK] Dragging images and links results in a DataTransfer object containing a non-empty files array | ||
---|---|---|---|
Product: | WebKit | Reporter: | Martin Robinson <mrobinson> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | antaryami.pandia, bugs-noreply, zan |
Priority: | P3 | Keywords: | Gtk, LayoutTestFailure |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux | ||
Bug Depends on: | 40833 | ||
Bug Blocks: |
Martin Robinson
This can be observed by the failure of editing/pasteboard/files-during-page-drags.html.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Antaryami Pandia (apandia)
Hi Martin,
As per my understanding when doing a drag, the "EventHandler::performDragAndDrop", should be called. But in this case it's not getting called. I tried further debugging and found that "beginDragWithFilesCallback" (of DumpRendererTree/gtk/eventsender.cpp) is also not getting called.
I am using the below commands to debug the test using dumprenderertree:-
1. gdb WebKitBuild/Debug/Programs/DumpRenderTree
2. b EventSender.cpp:473 // beginDragWithFilesCallback method
3. r PATH-TO-LOCATION/LayoutTests/editing/pasteboard/drag-files-to-editable-element.html
Please let me know if I am missing something.
Any pointers will be helpful.
Thanks
-Antaryami