Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Side by Side Diff: LayoutTests/fast/speechsynthesis/speech-synthesis-speak-invalid-argument-throws-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698