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

Side by Side Diff: LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-type-change-onchange.html

Issue 11419080: Merge 132895 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-type-change-onchange-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../../../../../fast/js/resources/js-test-pre.js"></script> 3 <script src="../../../../../fast/js/resources/js-test-pre.js"></script>
4 <script src="../../../../../fast/forms/resources/picker-common.js"></script> 4 <script src="../../../../../fast/forms/resources/picker-common.js"></script>
5 <input type="date" id="date1" onchange="changeType(this)" value="2000-01-01"> 5 <input type="date" id="date1" onchange="changeType(this)" value="2000-01-01">
6 <script> 6 <script>
7 description('Check if we have no crash in a case that the input type is changed by selecting a day in the calendar picker.'); 7 description('Check if we have no crash in a case that the input type is changed by selecting a day in the calendar picker.');
8 8
9 openPicker(document.getElementById('date1'), selectToday); 9 openPicker(document.getElementById('date1'), selectToday);
10 10
11 function selectToday() { 11 function selectToday() {
12 eventSender.keyDown('t'); 12 eventSender.keyDown('t');
13 eventSender.keyDown('\n'); 13 eventSender.keyDown('\n');
14 } 14 }
15 15
16 function changeType(input) { 16 function changeType(input) {
17 input.type = 'text'; 17 input.type = 'text';
18 testPassed('unless crash'); 18 testPassed('unless crash');
19 finishJSTest(); 19 finishJSTest();
20 } 20 }
21 </script> 21 </script>
22 <script src="../../../../../fast/js/resources/js-test-post.js"></script> 22 <script src="../../../../../fast/js/resources/js-test-post.js"></script>
23 </body> 23 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-type-change-onchange-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698