1document.ontouchstart = touchStartHandler;
2
3function touchStartHandler(e)
4{
5    var target = e.touches[0].target;
6    document.body.removeChild(target);
7    window.location = 'resources/send-touch-up.html';
8}
9
10description("If this test does not crash then you pass!");
11
12if (window.layoutTestController)
13    layoutTestController.waitUntilDone();
14
15if (window.eventSender) {
16    eventSender.clearTouchPoints();
17    eventSender.addTouchPoint(50, 150);
18    eventSender.touchStart();
19} else
20    debug('This test requires DRT.');
21