Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / touch / resources / touch-stale-node-crash.js
blob22ae136a08e7c3c67af17928cb96726c6b53439b
1 document.ontouchstart = touchStartHandler;
3 function touchStartHandler(e)
5 var target = e.touches[0].target;
6 document.body.removeChild(target);
7 window.location = 'resources/send-touch-up.html';
10 description("If this test does not crash then you pass!");
12 if (window.testRunner)
13 testRunner.waitUntilDone();
15 if (window.eventSender) {
16 eventSender.clearTouchPoints();
17 eventSender.addTouchPoint(50, 150);
18 eventSender.touchStart();
19 } else
20 debug('This test requires DRT.');