ariya/phantomjs — pull request #336 by jimevans (2012-11-01 02:33:25+00:00)
Title: Fixing sending of double-click events

Using sendEvent() for sending a double-click event to a page does not result in a double-click. Sending the QEvent::MouseButtonDblClick event by itself is insufficient for simulating a double-click. Rather, it must be preceded by a mousedown/mouseup and followed by another mouseup.

This pull request fixes issue #848 (http://code.google.com/p/phantomjs/issues/detail?id=848)