| OLD | NEW |
| 1 Test basic interaction with the Speech JavaScript API | 1 Test basic interaction with the Speech JavaScript API |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS 'webkitSpeechRecognition' in self is true | 6 PASS 'webkitSpeechRecognition' in self is true |
| 7 PASS webkitSpeechRecognition == null is false | 7 PASS webkitSpeechRecognition == null is false |
| 8 | 8 |
| 9 oneMatchTest(): | 9 oneMatchTest(): |
| 10 onstart | 10 onstart |
| 11 PASS count is 0 | 11 PASS count is 0 |
| 12 onaudiostart | 12 onaudiostart |
| 13 PASS count is 1 | 13 PASS count is 1 |
| 14 onsoundstart | 14 onsoundstart |
| 15 PASS count is 2 | 15 PASS count is 2 |
| 16 onspeechstart | 16 onspeechstart |
| 17 PASS count is 3 | 17 PASS count is 3 |
| 18 onresult | 18 onresult |
| 19 PASS count is 4 | 19 PASS count is 4 |
| 20 PASS event.emma is null | 20 PASS event.emma is null |
| 21 PASS event.interpretation is null | 21 PASS event.interpretation is null |
| 22 PASS event.results.length is 1 | 22 PASS event.results.length is 1 |
| 23 PASS event.results.item(-1) is null |
| 23 PASS event.results[0].length is 1 | 24 PASS event.results[0].length is 1 |
| 24 PASS event.results[0].isFinal is true | 25 PASS event.results[0].isFinal is true |
| 25 PASS event.results[0].item(0).transcript is "hello, world" | 26 PASS event.results[0].item(0).transcript is "hello, world" |
| 26 PASS event.results[0].item(0).confidence is within 0.001 of 0.42 | 27 PASS event.results[0].item(0).confidence is within 0.001 of 0.42 |
| 28 PASS event.results[0].item(-1) is null |
| 27 onspeechend | 29 onspeechend |
| 28 PASS count is 5 | 30 PASS count is 5 |
| 29 onsoundend | 31 onsoundend |
| 30 PASS count is 6 | 32 PASS count is 6 |
| 31 onaudioend | 33 onaudioend |
| 32 PASS count is 7 | 34 PASS count is 7 |
| 33 onend | 35 onend |
| 34 PASS count is 8 | 36 PASS count is 8 |
| 35 | 37 |
| 36 noMatchTest(): | 38 noMatchTest(): |
| (...skipping 13 matching lines...) Expand all Loading... |
| 50 onsoundend | 52 onsoundend |
| 51 PASS count is 6 | 53 PASS count is 6 |
| 52 onaudioend | 54 onaudioend |
| 53 PASS count is 7 | 55 PASS count is 7 |
| 54 onend | 56 onend |
| 55 PASS count is 8 | 57 PASS count is 8 |
| 56 PASS successfullyParsed is true | 58 PASS successfullyParsed is true |
| 57 | 59 |
| 58 TEST COMPLETE | 60 TEST COMPLETE |
| 59 | 61 |
| OLD | NEW |