| Index: third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html b/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html
|
| index 8ee0a797cdba925626fffeca73baf7bda25cee9c..5c7fad05cca2c30b5fa631e84e4e562e0c4adc52 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws.html
|
| @@ -14,12 +14,12 @@
|
|
|
| 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: 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"');
|
| + shouldThrow("speechSynthesis.speak()");
|
| + shouldThrow("speechSynthesis.speak(0)");
|
| + shouldThrow("speechSynthesis.speak('')");
|
| + shouldThrow("speechSynthesis.speak(document.body)");
|
| + shouldThrow("speechSynthesis.speak({})");
|
| + shouldThrow("speechSynthesis.speak((new SpeechSynthesisUtterance()).text = 'hello')");
|
|
|
| </script>
|
|
|
|
|