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

Side by Side Diff: LayoutTests/fast/forms/range/range-type-change-onchange.html

Issue 11364206: Merge 132983 (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/fast/forms/range/range-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="../../js/resources/js-test-pre.js"></script> 3 <script src="../../js/resources/js-test-pre.js"></script>
4 4
5 <input id="range1" type="range" onchange="updateType(this)" autofocus> 5 <input id="range1" type="range" onchange="updateType(this)" autofocus>
6 <script> 6 <script>
7 description('Check if no problem happens by type change in onchange handler.'); 7 description('Check if no problem happens by type change in onchange handler.');
8 8
9 function updateType(input) { 9 function updateType(input) {
10 input.type = 'text'; 10 input.type = 'text';
11 setTimeout(finish, 0); 11 setTimeout(finish, 0);
12 } 12 }
13 13
14 function finish() { 14 function finish() {
15 testPassed('unless crash'); 15 testPassed('unless crash');
16 finishJSTest(); 16 finishJSTest();
17 } 17 }
18 18
19 jsTestIsAsync = true; 19 jsTestIsAsync = true;
20 eventSender.keyDown('upArrow'); 20 eventSender.keyDown('upArrow');
21 </script> 21 </script>
22 <script src="../../js/resources/js-test-post.js"></script> 22 <script src="../../js/resources/js-test-post.js"></script>
23 </body> 23 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/range/range-type-change-onchange-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698