Pass | SpeechSynthesisEvent with no arguments throws TypeError | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { new SpeechSynthesisEvent(); }")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:17:3) |
|
Pass | SpeechSynthesisEvent with no eventInitDict throws TypeError | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { new SpeechSynthesisEvent("type"); }")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:23:3) |
|
Pass | SpeechSynthesisEvent with empty eventInitDict throws TypeError (requires
utterance) | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { new SpeechSynthesisEvent("type", {}); }")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:29:3) |
|
Pass | SpeechSynthesisEvent with eventInitDict not having utterance throws
TypeError | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { new SpeechSynthesisEvent("type", {charIndex: 10, elapsedTime: 50, name:"foo"}); }")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:36:3) |
|
Pass | SpeechSynthesisEvent with eventInitDict having an utterance | Asserts runPass | assert_equals(object "[object SpeechSynthesisUtterance]", object "[object SpeechSynthesisUtterance]")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:45:3) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:46:3) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:47:3) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:48:3) | Pass | assert_equals("", "")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:49:3) |
|
Pass | SpeechSynthesisEvent with custom eventInitDict | Asserts runPass | assert_equals(false, false)
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:61:3) | Pass | assert_equals(false, false)
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:62:3) | Pass | assert_equals("type", "type")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:63:3) | Pass | assert_equals(object "[object SpeechSynthesisUtterance]", object "[object SpeechSynthesisUtterance]")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:64:3) | Pass | assert_equals(5, 5)
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:65:3) | Pass | assert_equals(3, 3)
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:66:3) | Pass | assert_equals(100, 100)
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:67:3) | Pass | assert_equals("foo", "foo")
at Test.<anonymous> ( /speech-api/SpeechSynthesisEvent-constructor.html:68:3) |
|