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

Side by Side Diff: chrome/test/data/navigation_interception/navigation_from_xhr_callback_and_short_timeout.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 4
5 Copyright (c) 2015 The Chromium Authors. All rights reserved. 5 Copyright (c) 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 24 matching lines...) Expand all
35 35
36 function xhrAndOpenHello(e) { 36 function xhrAndOpenHello(e) {
37 xmlhttp.onreadystatechange = xhrOnReadyStateChange; 37 xmlhttp.onreadystatechange = xhrOnReadyStateChange;
38 xmlhttp.open("GET", 'hello.html' , true); 38 xmlhttp.open("GET", 'hello.html' , true);
39 xmlhttp.send(); 39 xmlhttp.send();
40 40
41 e.preventDefault(); 41 e.preventDefault();
42 }; 42 };
43 43
44 function setup() { 44 function setup() {
45 first.ontouchstart = xhrAndOpenHello; 45 first.ontouchend = xhrAndOpenHello;
46 }; 46 };
47 </script> 47 </script>
48 </head> 48 </head>
49 <body onload='setup();'> 49 <body onload='setup();'>
50 <div id='first'></div> 50 <div id='first'></div>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698