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

Side by Side Diff: LayoutTests/fast/forms/date-multiple-fields/date-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="date" id="input" value="2000-01-01"> 10 <input type="date" id="input" value="2000-01-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 21 matching lines...) Expand all
36 eventSender.keyDown('rightArrow'); 36 eventSender.keyDown('rightArrow');
37 eventSender.keyDown('downArrow'); 37 eventSender.keyDown('downArrow');
38 38
39 shouldBeEqualToString('input.value', '2000-01-01'); 39 shouldBeEqualToString('input.value', '2000-01-01');
40 shouldBe('eventsCounter.input', '1'); 40 shouldBe('eventsCounter.input', '1');
41 shouldBe('eventsCounter.change', '1'); 41 shouldBe('eventsCounter.change', '1');
42 42
43 </script> 43 </script>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698