RESOLVED INVALID 7795
eventSender.mouseClick() cannot be used for sending double-click events
https://bugs.webkit.org/show_bug.cgi?id=7795
Summary eventSender.mouseClick() cannot be used for sending double-click events
Eric Seidel (no email)
Reported 2006-03-15 22:02:08 PST
eventSender.mouseClick() cannot be used for sending double-click events I believe the events end up getting posted in the wrong order, since the code posts the mouseDown directly, yet adds the mouseUp to the event queue. When I tried to make them both direct another test started hanging. When I tried to make them both deffered, another test started failing. I think we want them both direct anyway. The attached test case (when run under DumpRenderTree) demonstrates the problem.
Attachments
Test case (must be run in DumpRenderTree) (1.09 KB, text/html)
2006-03-15 22:03 PST, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2006-03-15 22:03:49 PST
Created attachment 7105 [details] Test case (must be run in DumpRenderTree)
Eric Seidel (no email)
Comment 2 2006-03-15 22:06:29 PST
I ran into this while fixing bug 7790.
mitz
Comment 3 2006-03-17 10:48:42 PST
mouseClick was designed as a solution for tests that need to click native widgets (see bug 7583). It doesn't work even for single-clicking anything but native widgets. Maybe it should be renamed to reflect its special purpose. Another option which I mentioned in bug 7583 is to add a code path for the normal case.
mitz
Comment 4 2007-03-31 05:14:49 PDT
Note You need to log in before you can comment on or make changes to this bug.