| 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 <input type="text" speech>.')
; | 8 description('Tests for speech button click with <input type="text" speech>.')
; |
| 9 | 9 |
| 10 function startSpeechInput(id) { | 10 function startSpeechInput(id) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 function onSpeechChange() { | 41 function onSpeechChange() { |
| 42 shouldBeEqualToString('document.getElementById("input1").value', 'Pictures o
f the moon'); | 42 shouldBeEqualToString('document.getElementById("input1").value', 'Pictures o
f the moon'); |
| 43 shouldBeEqualToString('document.getElementById("input2").value', ''); | 43 shouldBeEqualToString('document.getElementById("input2").value', ''); |
| 44 finishJSTest(); | 44 finishJSTest(); |
| 45 } | 45 } |
| 46 | 46 |
| 47 window.onload = run; | 47 window.onload = run; |
| 48 window.jsTestIsAsync = true; | 48 window.jsTestIsAsync = true; |
| 49 </script> | 49 </script> |
| 50 <script src="../js/resources/js-test-post.js"></script> | |
| 51 <input id='input1' x-webkit-speech onfocus="onFocus()" onwebkitspeechchange="onS
peechChange()"> | 50 <input id='input1' x-webkit-speech onfocus="onFocus()" onwebkitspeechchange="onS
peechChange()"> |
| 52 <input id='input2'> | 51 <input id='input2'> |
| 53 </body> | 52 </body> |
| 54 </html> | 53 </html> |
| OLD | NEW |