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

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

Issue 58533003: Move fast/js/resources files to resources. (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="../../../fast/js/resources/js-test-pre.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="month" id="input" value="2000-01"> 10 <input type="month" id="input" value="2000-01">
11 <script> 11 <script>
12 description('Test if change event fires when the user selects the default value after the value was changed by JS.'); 12 description('Test if change event fires when the user selects the default value after the value was changed by JS.');
13 13
14 var eventsCounter = {}; 14 var eventsCounter = {};
(...skipping 20 matching lines...) Expand all
35 eventSender.keyDown('rightArrow'); 35 eventSender.keyDown('rightArrow');
36 eventSender.keyDown('downArrow'); 36 eventSender.keyDown('downArrow');
37 37
38 shouldBeEqualToString('input.value', '2000-01'); 38 shouldBeEqualToString('input.value', '2000-01');
39 shouldBe('eventsCounter.input', '1'); 39 shouldBe('eventsCounter.input', '1');
40 shouldBe('eventsCounter.change', '1'); 40 shouldBe('eventsCounter.change', '1');
41 41
42 </script> 42 </script>
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698