Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / speechsynthesis / speech-synthesis-voices-changed.html
blob53b6f32e028ac53698994290ebff8b6e6b4e35e3
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
8 <div id="console"></div>
10 <script>
11 speechSynthesis.onvoiceschanged = function() {
12 debug('Got onvoiceschanged event.');
15 var list = speechSynthesis.getVoices();
16 debug('Initially, there are ' + list.length + ' voices.');
18 if (window.internals)
19 window.internals.enableMockSpeechSynthesizer(document);
21 list = speechSynthesis.getVoices();
22 debug('Now there are ' + list.length + ' voices.');
24 </script>
26 </body>
27 </html>