WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
View All
Add attachment
proposed patch, testcase, etc.
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
mouseClick() was removed in <
http://trac.webkit.org/projects/webkit/changeset/20407
>.
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