12 <embed id=
"plugin" type=
"application/x-webkit-test-webplugin" primitive=
"triangle" background-color=
"green" primitive-color=
"blue"></embed>
15 if (!window
.testRunner
) {
16 document
.write("This test does not work in manual mode.");
18 testRunner
.dumpAsText();
20 // Send some gesture events to the plugin.
21 var positionX
= plugin
.offsetLeft
+ 10;
22 var positionY
= plugin
.offsetTop
+ 10;
23 eventSender
.gestureTap(positionX
, positionY
);
24 eventSender
.gestureShowPress(positionX
, positionY
);
25 eventSender
.gestureScrollBegin(positionX
, positionY
);
26 eventSender
.gestureScrollUpdate(30, 0);
27 eventSender
.gestureScrollUpdate(30, 0, true);
28 eventSender
.gestureScrollEnd(0, 0);