12 <embed id=
"plugin" type=
"application/x-webkit-test-webplugin" accepts-touch=
"raw" print-event-details=
"true"></embed>
15 if (!window
.testRunner
|| !window
.eventSender
) {
16 document
.write("This test does not work in manual mode.");
18 testRunner
.dumpAsText();
20 var positionX
= plugin
.offsetLeft
+ 10;
21 var positionY
= plugin
.offsetTop
+ 10;
22 eventSender
.addTouchPoint(positionX
, positionY
);
23 eventSender
.touchStart();
24 eventSender
.updateTouchPoint(0, positionX
+ 10, positionY
+ 5);
25 eventSender
.touchMove();
26 eventSender
.releaseTouchPoint(0);
27 eventSender
.touchEnd();