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

Side by Side Diff: chrome/test/data/navigation_interception/navigation_from_image_onload.html

Issue 2414273003: Remove UserGesture on touch scrolls (Closed)
Patch Set: Improve comments Created 4 years, 1 month 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 | « no previous file | chrome/test/data/navigation_interception/navigation_from_user_gesture.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 4
5 Copyright 2015 The Chromium Authors. All rights reserved. 5 Copyright 2015 The Chromium Authors. All rights reserved.
6 Use of this source code is governed by a BSD-style license that can be 6 Use of this source code is governed by a BSD-style license that can be
7 found in the LICENSE file. 7 found in the LICENSE file.
8 8
9 --> 9 -->
10 <head> 10 <head>
(...skipping 14 matching lines...) Expand all
25 var img = new Image(); 25 var img = new Image();
26 img.onload = function () { 26 img.onload = function () {
27 window.location = 'hello.html'; 27 window.location = 'hello.html';
28 } 28 }
29 img.src = '../image_search/valid.png'; 29 img.src = '../image_search/valid.png';
30 30
31 e.preventDefault(); 31 e.preventDefault();
32 }; 32 };
33 33
34 function setup() { 34 function setup() {
35 first.ontouchstart = pingAndOpenHello; 35 first.ontouchend = pingAndOpenHello;
36 }; 36 };
37 </script> 37 </script>
38 </head> 38 </head>
39 <body onload='setup();'> 39 <body onload='setup();'>
40 <div id='first'></div> 40 <div id='first'></div>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/navigation_interception/navigation_from_user_gesture.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698