Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / perf / page_sets / key_noop_cases / no_op_touch_handler.html
blob1455eb17292889117e7237bac179ab8dd6dcc480
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>No-op touch handler</title>
5 </head>
6 <body>
7 This page has a no-op touch handler.
8 <script>
9 function noOpHandler(e) {
10 e.preventDefault();
12 window.addEventListener('touchstart', noOpHandler, false);
13 window.addEventListener('touchmove', noOpHandler, false);
14 window.addEventListener('touchend', noOpHandler, false);
15 window.addEventListener('touchcancel', noOpHandler, false);
16 </script>
17 </body>
18 </html>