| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 
|  | 2 <html> | 
|  | 3 <head> | 
|  | 4 <script src="../js/resources/js-test-pre.js"></script> | 
|  | 5 </head> | 
|  | 6 <body> | 
|  | 7 | 
|  | 8 <div id="console"></div> | 
|  | 9 | 
|  | 10 <script> | 
|  | 11     speechSynthesis.onvoiceschanged = function() { | 
|  | 12         debug('Got onvoiceschanged event.'); | 
|  | 13     } | 
|  | 14 | 
|  | 15     var list = speechSynthesis.getVoices(); | 
|  | 16     debug('Initially, there are ' + list.length + ' voices.'); | 
|  | 17 | 
|  | 18     if (window.internals) | 
|  | 19         window.internals.enableMockSpeechSynthesizer(); | 
|  | 20 | 
|  | 21     list = speechSynthesis.getVoices(); | 
|  | 22     debug('Now there are ' + list.length + ' voices.'); | 
|  | 23 | 
|  | 24 </script> | 
|  | 25 | 
|  | 26 <script src="../js/resources/js-test-post.js"></script> | 
|  | 27 </body> | 
|  | 28 </html> | 
| OLD | NEW | 
|---|