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 Speech JavaScript API errors'); | 8 description('Test Speech JavaScript API errors'); |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 finishJSTest(); | 52 finishJSTest(); |
53 } | 53 } |
54 } | 54 } |
55 | 55 |
56 window.onload = run; | 56 window.onload = run; |
57 window.jsTestIsAsync = true; | 57 window.jsTestIsAsync = true; |
58 </script> | 58 </script> |
59 </body> | 59 </body> |
60 </html> | 60 </html> |
61 | 61 |
OLD | NEW |