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

Side by Side Diff: LayoutTests/fast/events/popup-allowed-from-gesture-only-once.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. The test passes if only one popup is created. 6 user action. The test passes if only one popup is created.
7 </p> 7 </p>
8 <button id="button" onclick="popup()">Click Here</button> 8 <button id="button" onclick="popup()">Click Here</button>
9 <div id="console"></div> 9 <div id="console"></div>
10 <script> 10 <script>
(...skipping 21 matching lines...) Expand all
32 32
33 if (window.eventSender) { 33 if (window.eventSender) {
34 eventSender.mouseMoveTo(button.offsetLeft + button.offsetWid th / 2, button.offsetTop + button.offsetHeight / 2); 34 eventSender.mouseMoveTo(button.offsetLeft + button.offsetWid th / 2, button.offsetTop + button.offsetHeight / 2);
35 eventSender.mouseDown(); 35 eventSender.mouseDown();
36 eventSender.mouseUp(); 36 eventSender.mouseUp();
37 } 37 }
38 } 38 }
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698