Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Side by Side Diff: LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed.html

Issue 27477002: Add support for onvoiceschanged event. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@platform_speech_chromium
Patch Set: Check activeDOMObjectsAreStopped, address other feedback Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698