Update web-platform-tests to revision fec3928f355e049657d19780aa4b412d9d3a714b

This commit is contained in:
WPT Sync Bot 2018-10-02 22:11:10 -04:00
parent 74ba683e27
commit 2a8d9b6983
153 changed files with 3075 additions and 719 deletions

View file

@ -30,6 +30,17 @@ test(function() {
}
}, 'new SpeechSynthesisUtterance("hello") text and defaults');
test(function() {
const utt = new SpeechSynthesisUtterance(null);
assert_equals(utt.text, 'null');
}, 'new SpeechSynthesisUtterance(null)');
test(function() {
const utt = new SpeechSynthesisUtterance(undefined);
// See https://github.com/w3c/speech-api/pull/48.
assert_equals(utt.text, '');
}, 'new SpeechSynthesisUtterance(undefined)');
test(function() {
const utt = new SpeechSynthesisUtterance();
utt.text = 'word';