| OLD | NEW |
| 1 This tests that passing an argument other than a SpeechSynthesisUtterance to spe
echSynthesis.speak throws a TypeError exception. | 1 This tests that passing an argument other than a SpeechSynthesisUtterance to spe
echSynthesis.speak throws a TypeError exception. |
| 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 speechSynthesis.speak() threw exception TypeError: Failed to execute 'speak
' on 'SpeechSynthesis': 1 argument required, but only 0 present.. | 6 PASS speechSynthesis.speak() threw exception TypeError: Failed to execute 'speak
' on 'SpeechSynthesis': 1 argument required, but only 0 present.. |
| 7 PASS speechSynthesis.speak(0) threw exception TypeError: Invalid utterance argum
ent. | 7 PASS speechSynthesis.speak(0) threw exception TypeError: Failed to execute 'spea
k' on 'SpeechSynthesis': Invalid utterance argument. |
| 8 PASS speechSynthesis.speak('') threw exception TypeError: Invalid utterance argu
ment. | 8 PASS speechSynthesis.speak('') threw exception TypeError: Failed to execute 'spe
ak' on 'SpeechSynthesis': Invalid utterance argument. |
| 9 PASS speechSynthesis.speak(document.body) threw exception TypeError: Invalid utt
erance argument. | 9 PASS speechSynthesis.speak(document.body) threw exception TypeError: Failed to e
xecute 'speak' on 'SpeechSynthesis': Invalid utterance argument. |
| 10 PASS speechSynthesis.speak({}) threw exception TypeError: Invalid utterance argu
ment. | 10 PASS speechSynthesis.speak({}) threw exception TypeError: Failed to execute 'spe
ak' on 'SpeechSynthesis': Invalid utterance argument. |
| 11 PASS speechSynthesis.speak((new SpeechSynthesisUtterance()).text = 'hello') thre
w exception TypeError: Invalid utterance argument. | 11 PASS speechSynthesis.speak((new SpeechSynthesisUtterance()).text = 'hello') thre
w exception TypeError: Failed to execute 'speak' on 'SpeechSynthesis': Invalid u
tterance argument. |
| 12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
| 13 | 13 |
| 14 TEST COMPLETE | 14 TEST COMPLETE |
| 15 | 15 |
| OLD | NEW |