| Index: LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed.html
|
| diff --git a/LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed.html b/LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..acdb3ca4357f190b0f32484f5b3b9d4d021398fc
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed.html
|
| @@ -0,0 +1,28 @@
|
| +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
| +<html>
|
| +<head>
|
| +<script src="../js/resources/js-test-pre.js"></script>
|
| +</head>
|
| +<body>
|
| +
|
| +<div id="console"></div>
|
| +
|
| +<script>
|
| + speechSynthesis.onvoiceschanged = function() {
|
| + debug('Got onvoiceschanged event.');
|
| + }
|
| +
|
| + var list = speechSynthesis.getVoices();
|
| + debug('Initially, there are ' + list.length + ' voices.');
|
| +
|
| + if (window.internals)
|
| + window.internals.enableMockSpeechSynthesizer();
|
| +
|
| + list = speechSynthesis.getVoices();
|
| + debug('Now there are ' + list.length + ' voices.');
|
| +
|
| +</script>
|
| +
|
| +<script src="../js/resources/js-test-post.js"></script>
|
| +</body>
|
| +</html>
|
|
|