[webkit-reviews] review requested: [Bug 30271] [QT] DRT doesn't support double click simulation : [Attachment 40985] [QT] DumpRenderTree double click simulation with 2 consecutive mouse click event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 10 01:12:29 PDT 2009


Charles Wei <charles.wei at torchmobile.com.cn> has asked	for review:
Bug 30271: [QT] DRT doesn't support double click simulation
https://bugs.webkit.org/show_bug.cgi?id=30271

Attachment 40985: [QT] DumpRenderTree double click simulation with 2
consecutive mouse click event
https://bugs.webkit.org/attachment.cgi?id=40985&action=review

------- Additional Comments from Charles Wei <charles.wei at torchmobile.com.cn>
On Qt platform , for a double click mouse event , the event sequence sent to
the application is like this :

MouseButtonPress,  MouseButtonRelease,	MouseButtonDblClick, MouseButtonRelease


So in the DumpRenderTree,  if the JavaScript test code is :

EventSender.mouseDown(button);
EventSender.mouseUp(button);
EventSender.mouseDown(button);
EventSender.mouseUp(button);

The event sequence mentioned above should be send to the webkit,  and in event
handler for MousebuttonDblClick, an MouseButtonPressEvent will be automatically
emitted inside webkit.


More information about the webkit-reviews mailing list