WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
68552
[WK2] [Mac] Support drag in mouse events for WebKit2 EventSender
https://bugs.webkit.org/show_bug.cgi?id=68552
Summary
[WK2] [Mac] Support drag in mouse events for WebKit2 EventSender
Chang Shu
Reported
2011-09-21 11:55:22 PDT
The implementation for
bug 68108
does not include the drag support.
Attachments
proposed fix
(25.46 KB, patch)
2013-08-30 10:59 PDT
,
Alexey Proskuryakov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2011-10-12 09:21:35 PDT
Why is this making bots red? Can we just add some tests back to the Skipped list?
Alexey Proskuryakov
Comment 2
2013-08-30 10:44:05 PDT
We currently have many drag and drop tests enabled and even "passing", but mostly by accident. I have a patch that implements WebKit1-like event saving and replaying. This doesn't quite work, because WebDragClient messages from WebProcess are asynchronous, and are delivered out of order in WKTR, which is mostly synchronous when it comes to event handling. The ideal way to fix this would involve refactoring WebKit2 to use NSDragSession API, which is not modal, and thus doesn't need mouse event saving for tests. There are exciting opportunities for cleanup in WebKit here, as the new API doesn't use NSPasteboard for drag initiation, so we could somewhat decouple drag&drop from clipboard (the only caveat being that DOM APIs expose them as one class, so WebCore layer has to respect that).
Alexey Proskuryakov
Comment 3
2013-08-30 10:59:32 PDT
Created
attachment 210135
[details]
proposed fix
Alexey Proskuryakov
Comment 4
2013-08-30 10:59:55 PDT
Comment on
attachment 210135
[details]
proposed fix Sorry, wrong bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug