blob: 0496ec55a03c8f2c82343b4d534da498931378c0 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.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)
internals.enableMockSpeechSynthesizer(window);
list = speechSynthesis.getVoices();
debug('Now there are ' + list.length + ' voices.');
</script>
</body>
</html>