12 <embed id=
"plugin" type=
"application/x-webkit-test-webplugin-persistent"
13 accepts-touch=
"raw"></embed>
14 <div>Each event description above should be followed by 'TestPlugin: isPersistent'
</div>
17 if (!window
.testRunner
|| !window
.eventSender
) {
18 document
.write("This test does not work in manual mode.");
20 testRunner
.dumpAsText();
21 testRunner
.waitUntilDone();
23 // Verify that the plugin is not destroyed.
24 plugin
.setAttribute("display", "none");
25 // Force synchronous style recalc.
28 var positionX
= plugin
.offsetLeft
+ 10;
29 var positionY
= plugin
.offsetTop
+ 10;
30 window
.setTimeout(function () {
31 eventSender
.addTouchPoint(positionX
, positionY
);
32 eventSender
.touchStart();
33 eventSender
.releaseTouchPoint(0);
34 eventSender
.touchEnd();
36 testRunner
.notifyDone();