| Index: LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html
|
| diff --git a/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html b/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html
|
| index 26411960a0672f309f4b627bfdd9d1718d8301ab..8ee0a797cdba925626fffeca73baf7bda25cee9c 100644
|
| --- a/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html
|
| +++ b/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html
|
| @@ -15,11 +15,11 @@
|
| description("This tests that passing an argument other than a SpeechSynthesisUtterance to speechSynthesis.speak throws a TypeError exception.");
|
|
|
| shouldThrow("speechSynthesis.speak()", '"TypeError: Failed to execute \'speak\' on \'SpeechSynthesis\': 1 argument required, but only 0 present."');
|
| - shouldThrow("speechSynthesis.speak(0)", '"TypeError: Invalid utterance argument"');
|
| - shouldThrow("speechSynthesis.speak('')", '"TypeError: Invalid utterance argument"');
|
| - shouldThrow("speechSynthesis.speak(document.body)", '"TypeError: Invalid utterance argument"');
|
| - shouldThrow("speechSynthesis.speak({})", '"TypeError: Invalid utterance argument"');
|
| - shouldThrow("speechSynthesis.speak((new SpeechSynthesisUtterance()).text = 'hello')", '"TypeError: Invalid utterance argument"');
|
| + shouldThrow("speechSynthesis.speak(0)", '"TypeError: Failed to execute \'speak\' on \'SpeechSynthesis\': Invalid utterance argument"');
|
| + shouldThrow("speechSynthesis.speak('')", '"TypeError: Failed to execute \'speak\' on \'SpeechSynthesis\': Invalid utterance argument"');
|
| + shouldThrow("speechSynthesis.speak(document.body)", '"TypeError: Failed to execute \'speak\' on \'SpeechSynthesis\': Invalid utterance argument"');
|
| + shouldThrow("speechSynthesis.speak({})", '"TypeError: Failed to execute \'speak\' on \'SpeechSynthesis\': Invalid utterance argument"');
|
| + shouldThrow("speechSynthesis.speak((new SpeechSynthesisUtterance()).text = 'hello')", '"TypeError: Failed to execute \'speak\' on \'SpeechSynthesis\': Invalid utterance argument"');
|
|
|
| </script>
|
|
|
|
|