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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-choose-default-value-after-set-value.html

Issue 2100243002: Remove non-standardize key code names from event_sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix inspector tests that were missed by sed Created 4 years, 5 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 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script src="../resources/common.js"></script> 5 <script src="../resources/common.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p id="description"></p> 8 <p id="description"></p>
9 <div id="console"></div> 9 <div id="console"></div>
10 <input type="time" id="input" value="01:01:01"> 10 <input type="time" id="input" value="01:01:01">
(...skipping 14 matching lines...) Expand all
25 25
26 input.value = '02:01:01'; 26 input.value = '02:01:01';
27 27
28 shouldBeEqualToString('input.value', '02:01:01'); 28 shouldBeEqualToString('input.value', '02:01:01');
29 shouldBeUndefined('eventsCounter.input'); 29 shouldBeUndefined('eventsCounter.input');
30 shouldBeUndefined('eventsCounter.change'); 30 shouldBeUndefined('eventsCounter.change');
31 31
32 // We assume the date format is h:m a. 32 // We assume the date format is h:m a.
33 33
34 input.focus(); 34 input.focus();
35 eventSender.keyDown('downArrow'); 35 eventSender.keyDown('ArrowDown');
36 36
37 shouldBeEqualToString('input.value', '01:01:01'); 37 shouldBeEqualToString('input.value', '01:01:01');
38 shouldBe('eventsCounter.input', '1'); 38 shouldBe('eventsCounter.input', '1');
39 shouldBe('eventsCounter.change', '1'); 39 shouldBe('eventsCounter.change', '1');
40 40
41 </script> 41 </script>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698