[webkit-dev] Context menu testing

Philippe Normand pnormand at igalia.com
Thu Sep 9 06:49:01 PDT 2010


I've been writing a patch to improve the context-menu of the media
elements and a layout test would be nice for this.

I can send a contextClick() event on the media element but then, how do
i know at which position to move the mouse to click on a specific item?

The mac EventSender::contextClick() returns an array of the menu items
titles but the GTK EventSender doesn't do so. And still, I'd need the
position/size of the menu items.

Any hints?


More information about the webkit-dev mailing list