OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script type="text/javascript"> | 7 <script type="text/javascript"> |
8 description('Tests for speech button click with readonly and disabled input fiel
ds.'); | 8 description('Tests for speech button click with readonly and disabled input fiel
ds.'); |
9 | 9 |
10 function onWebkitSpeechChange() { | 10 function onWebkitSpeechChange() { |
(...skipping 22 matching lines...) Expand all Loading... |
33 function run() { | 33 function run() { |
34 if (window.testRunner && window.eventSender) { | 34 if (window.testRunner && window.eventSender) { |
35 testRunner.addMockSpeechInputResult('Test', 1.0, ''); | 35 testRunner.addMockSpeechInputResult('Test', 1.0, ''); |
36 testField(0); | 36 testField(0); |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 window.onload = run; | 40 window.onload = run; |
41 window.jsTestIsAsync = true; | 41 window.jsTestIsAsync = true; |
42 </script> | 42 </script> |
43 <script src="../js/resources/js-test-post.js"></script> | |
44 <input id='readonlyInput' x-webkit-speech onwebkitspeechchange="onWebkitSpeechCh
ange()" readonly> | 43 <input id='readonlyInput' x-webkit-speech onwebkitspeechchange="onWebkitSpeechCh
ange()" readonly> |
45 <input id='disabledInput' x-webkit-speech onwebkitspeechchange="onWebkitSpeechCh
ange()" disabled> | 44 <input id='disabledInput' x-webkit-speech onwebkitspeechchange="onWebkitSpeechCh
ange()" disabled> |
46 </body> | 45 </body> |
47 </html> | 46 </html> |
OLD | NEW |