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

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

Issue 11975006: Merge 139419 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once-two-events-expected.txt » ('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 <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
« no previous file with comments | « no previous file | LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once-two-events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698