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

Side by Side Diff: LayoutTests/fast/events/touch/gesture/long-press-on-draggable-element-in-iframe-triggers-drag.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../js/resources/js-test-pre.js"></script> 4 <script src="../../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <iframe src="resources/drag-inside-iframe2.html"></iframe> 7 <iframe src="resources/drag-inside-iframe2.html"></iframe>
8 <p>This test checks that a long press gesture on a draggable element in an ifram e starts a drag/drop session.</p> 8 <p>This test checks that a long press gesture on a draggable element in an ifram e starts a drag/drop session.</p>
9 <div id="text">Testing</div> 9 <div id="text">Testing</div>
10 <div id="dragResult">FAIL</div> 10 <div id="dragResult">FAIL</div>
11 <div id="mouseDownResult">PASS</div> 11 <div id="mouseDownResult">PASS</div>
12 <script> 12 <script>
13 function onDragStart() { 13 function onDragStart() {
14 document.getElementById("dragResult").innerHTML = "PASS"; 14 document.getElementById("dragResult").innerHTML = "PASS";
(...skipping 14 matching lines...) Expand all
29 if (eventSender.gestureLongPress) { 29 if (eventSender.gestureLongPress) {
30 eventSender.gestureLongPress(50, 50); 30 eventSender.gestureLongPress(50, 50);
31 } else { 31 } else {
32 debug("gestureLongPress not implemented by this platform"); 32 debug("gestureLongPress not implemented by this platform");
33 return; 33 return;
34 } 34 }
35 } 35 }
36 </script> 36 </script>
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698