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

Side by Side Diff: LayoutTests/fast/events/keyboardevent-getModifierState.html

Issue 48903019: Delete js-test-post.js. (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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardE vent-getModifierState" /> 4 <link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardE vent-getModifierState" />
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 description("Tests KeyboardEvent.getModifierState()"); 9 description("Tests KeyboardEvent.getModifierState()");
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 testKeyEventWithModifiers("pageDown", ["shiftKey"], 34); 49 testKeyEventWithModifiers("pageDown", ["shiftKey"], 34);
50 testKeyEventWithModifiers("home", ["altKey"], 36); 50 testKeyEventWithModifiers("home", ["altKey"], 36);
51 testKeyEventWithModifiers("end", ["metaKey"], 35); 51 testKeyEventWithModifiers("end", ["metaKey"], 35);
52 testKeyEventWithModifiers("leftArrow", ["ctrlKey", "shiftKey"], 37); 52 testKeyEventWithModifiers("leftArrow", ["ctrlKey", "shiftKey"], 37);
53 testKeyEventWithModifiers("rightArrow", ["ctrlKey", "shiftKey", "altKey"], 3 9); 53 testKeyEventWithModifiers("rightArrow", ["ctrlKey", "shiftKey", "altKey"], 3 9);
54 testKeyEventWithModifiers("upArrow", ["ctrlKey", "shiftKey", "altKey", "meta Key"], 38); 54 testKeyEventWithModifiers("upArrow", ["ctrlKey", "shiftKey", "altKey", "meta Key"], 38);
55 } else { 55 } else {
56 debug("This test requires DumpRenderTree. To manually test, 1) focus on the textarea above and press keys while holding modifiers 2) see if the ctrlKey/shi ftKey/altKey/metaKey= values are correctly reported."); 56 debug("This test requires DumpRenderTree. To manually test, 1) focus on the textarea above and press keys while holding modifiers 2) see if the ctrlKey/shi ftKey/altKey/metaKey= values are correctly reported.");
57 } 57 }
58 </script> 58 </script>
59 <script src="../js/resources/js-test-post.js"></script>
60 </body> 59 </body>
61 </html> 60 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/invalid-005.html ('k') | LayoutTests/fast/events/keyboardevent-location-constants.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698