| 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="../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script type="text/javascript"> | 7 <script type="text/javascript"> |
| 8 description('Tests for enabling and disabling speech input via script.'); | 8 description('Tests for enabling and disabling speech input via script.'); |
| 9 | 9 |
| 10 var speechInputCreatedByScript = false; | 10 var speechInputCreatedByScript = false; |
| 11 | 11 |
| 12 function onWebkitSpeechChange() { | 12 function onWebkitSpeechChange() { |
| 13 shouldBeEqualToString('document.getElementById("speechInput").value', 'Pictu
res of the moon'); | 13 shouldBeEqualToString('document.getElementById("speechInput").value', 'Pictu
res of the moon'); |
| 14 | 14 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 testSetAttributeAndClick(); | 65 testSetAttributeAndClick(); |
| 66 } | 66 } |
| 67 | 67 |
| 68 window.onload = run; | 68 window.onload = run; |
| 69 window.jsTestIsAsync = true; | 69 window.jsTestIsAsync = true; |
| 70 </script> | 70 </script> |
| 71 <input id='speechInput'> | 71 <input id='speechInput'> |
| 72 <input id='inputWithAttribute' x-webkit-speech> | 72 <input id='inputWithAttribute' x-webkit-speech> |
| 73 </body> | 73 </body> |
| 74 </html> | 74 </html> |
| OLD | NEW |