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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/uievents/auxclick/auxclick_event-manual.html

Issue 2851633002: Move auxclick wpt test and add automation (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>Clicking with primary vs non-primary buttons</title> 5 <title>Clicking with primary vs non-primary buttons</title>
6 <link rel="help" href="https://wicg.github.io/auxclick/"> 6 <link rel="help" href="https://wicg.github.io/auxclick/">
7 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script> 8 <script src="/resources/testharnessreport.js"></script>
9 <style> 9 <style>
10 #target { 10 #target {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 assert_array_equals(events, ['mousedown', 'mouseup', 'auxclick', 'mousedown', 'mouseup', 'auxclick'], 56 assert_array_equals(events, ['mousedown', 'mouseup', 'auxclick', 'mousedown', 'mouseup', 'auxclick'],
57 'There should be two auxclick events for a non-primary butto n double click each preceded by one mousemove and one mouseup'); 57 'There should be two auxclick events for a non-primary butto n double click each preceded by one mousemove and one mouseup');
58 assert_equals(event.detail, click_count, 'detail attribute of au xclick should be the click count.'); 58 assert_equals(event.detail, click_count, 'detail attribute of au xclick should be the click count.');
59 }); 59 });
60 test_auxclick.done(); 60 test_auxclick.done();
61 } 61 }
62 }); 62 });
63 </script> 63 </script>
64 </body> 64 </body>
65 </html> 65 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698