Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: tools/perf/benchmarks/test_tap/test_tap.html

Issue 2245133006: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL for perf tryjob on mac Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/perf/benchmarks/test_tap.py ('k') | tools/run-perf-test.cfg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 </head>
5 <body>
6 <div id="test">Click/tap me</div>
7 <script>
8 var POSSIBLE_HANDLERS = [
9 'touchstart',
10 'touchmove',
11 'touchend',
12 'mouseover',
13 'mousemove',
14 'mousedown',
15 'mouseup',
16 'click'
17 ];
18
19 var triggeredHandlers = [];
20 var handlersInitialized = false;
21
22 window.addEventListener('load', function() {
23 var element = document.getElementById('test');
24 POSSIBLE_HANDLERS.forEach(function(handler) {
25 element.addEventListener(handler, function() {
26 triggeredHandlers.push(handler);
27 });
28 });
29 handlersInitialized = true;
30 });
31 </script>
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/test_tap.py ('k') | tools/run-perf-test.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698