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 the basics of the SpeechRecognitionError interface'); | 8 description('Tests the basics of the SpeechRecognitionError interface'); |
9 | 9 |
10 function run() { | 10 function run() { |
11 // Check availability of constructor. | 11 // Check availability of constructor. |
12 shouldBeTrue("'webkitSpeechRecognitionError' in window"); | 12 shouldBeTrue("'webkitSpeechRecognitionError' in window"); |
13 shouldBeFalse("webkitSpeechRecognitionError == null"); | 13 shouldBeFalse("webkitSpeechRecognitionError == null"); |
14 | 14 |
15 finishJSTest(); | 15 finishJSTest(); |
16 } | 16 } |
17 | 17 |
18 window.onload = run; | 18 window.onload = run; |
19 window.jsTestIsAsync = true; | 19 window.jsTestIsAsync = true; |
20 </script> | 20 </script> |
21 <script src="../../js/resources/js-test-post.js"></script> | |
22 </body> | 21 </body> |
23 </html> | 22 </html> |
OLD | NEW |