4 <script type='text/javascript'
>
7 if (window
.GCController
)
8 return GCController
.collect();
13 for (var i
= 0; i
< 10000; i
++)
14 var s
= new String("");
17 function sendTouchUp()
20 // This touchend will cause a crash if the bug is present.
21 eventSender
.releaseTouchPoint(0);
22 eventSender
.touchEnd();
23 // This touchstart will finish the test when we don't crash.
24 eventSender
.addTouchPoint(10,10);
25 eventSender
.touchStart();
28 function finishTest(e
)
30 testRunner
.notifyDone();
33 document
.ontouchstart
= finishTest
;
36 <body onload=
"sendTouchUp();">
37 <p>If the test doesn't crash, then PASS
</p>