| 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 the basics of the Speech JavaScript API'); | 8 description('Tests the basics of the Speech JavaScript API'); |
| 9 | 9 |
| 10 function run() { | 10 function run() { |
| 11 // Check availability of constructors. | 11 // Check availability of constructors. |
| 12 shouldBeTrue("'webkitSpeechRecognition' in self"); | 12 shouldBeTrue("'webkitSpeechRecognition' in self"); |
| 13 shouldBeFalse("webkitSpeechRecognition == null"); | 13 shouldBeFalse("webkitSpeechRecognition == null"); |
| 14 | 14 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 shouldBe("speechReco.maxAlternatives", "1"); | 48 shouldBe("speechReco.maxAlternatives", "1"); |
| 49 | 49 |
| 50 finishJSTest(); | 50 finishJSTest(); |
| 51 } | 51 } |
| 52 | 52 |
| 53 window.onload = run; | 53 window.onload = run; |
| 54 window.jsTestIsAsync = true; | 54 window.jsTestIsAsync = true; |
| 55 </script> | 55 </script> |
| 56 </body> | 56 </body> |
| 57 </html> | 57 </html> |
| OLD | NEW |