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('Test basic interaction with the Speech JavaScript API'); | 8 description('Test basic interaction with 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 } | 86 } |
87 | 87 |
88 r.start(); | 88 r.start(); |
89 } | 89 } |
90 | 90 |
91 window.onload = run; | 91 window.onload = run; |
92 window.jsTestIsAsync = true; | 92 window.jsTestIsAsync = true; |
93 </script> | 93 </script> |
94 </body> | 94 </body> |
95 </html> | 95 </html> |
OLD | NEW |