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

Side by Side Diff: LayoutTests/fast/events/popup-allowed-from-gesture-only-once-two-events.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p> 4 <p>
5 Test that only a single popup is allowed in response to a single 5 Test that only a single popup is allowed in response to a single
6 user action, even if the the user action triggers multiple events. 6 user action, even if the the user action triggers multiple events.
7 The test passes if only one popup is created. 7 The test passes if only one popup is created.
8 </p> 8 </p>
9 <button id="button" onmousedown="popup1()" onmouseup="popup2()">Click He re</button> 9 <button id="button" onmousedown="popup1()" onmouseup="popup2()">Click He re</button>
10 <div id="console"></div> 10 <div id="console"></div>
(...skipping 25 matching lines...) Expand all
36 36
37 if (window.eventSender) { 37 if (window.eventSender) {
38 eventSender.mouseMoveTo(button.offsetLeft + button.offsetWid th / 2, button.offsetTop + button.offsetHeight / 2); 38 eventSender.mouseMoveTo(button.offsetLeft + button.offsetWid th / 2, button.offsetTop + button.offsetHeight / 2);
39 eventSender.mouseDown(); 39 eventSender.mouseDown();
40 eventSender.mouseUp(); 40 eventSender.mouseUp();
41 } 41 }
42 } 42 }
43 </script> 43 </script>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698