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

Side by Side Diff: LayoutTests/fast/events/keydown-numlock-standard-location.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 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Checks that KeyboardEvent.location is DOM_KEY_LOCATION_STANDARD for NumLock key."); 8 description("Checks that KeyboardEvent.location is DOM_KEY_LOCATION_STANDARD for NumLock key.");
9 9
10 var lastKeyboardEvent = null; 10 var lastKeyboardEvent = null;
(...skipping 23 matching lines...) Expand all
34 if (window.eventSender) { 34 if (window.eventSender) {
35 eventSender.keyDown("numLock"); 35 eventSender.keyDown("numLock");
36 shouldBeEqualToString("lastKeyboardEvent.type", "keydown"); 36 shouldBeEqualToString("lastKeyboardEvent.type", "keydown");
37 shouldBe("lastKeyboardEvent.keyCode", "VKEY_NUMLOCK"); 37 shouldBe("lastKeyboardEvent.keyCode", "VKEY_NUMLOCK");
38 shouldBe("lastKeyboardEvent.location", "KeyboardEvent.DOM_KEY_LOCATION_STAND ARD"); 38 shouldBe("lastKeyboardEvent.location", "KeyboardEvent.DOM_KEY_LOCATION_STAND ARD");
39 } else { 39 } else {
40 debug("This test needs window.eventSender to run."); 40 debug("This test needs window.eventSender to run.");
41 } 41 }
42 42
43 </script> 43 </script>
44 <script src="../js/resources/js-test-post.js"></script>
45 </body> 44 </body>
46 </html> 45 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/keydown-leftright-keys.html ('k') | LayoutTests/fast/events/keydown-numpad-keys.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698