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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/speech/scripted/speechrecognition-re-restart.html

Issue 2617113002: Handle repeated and overlapping (re)starts of mock speechrecognizer. (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("Verify that multiple overlapping start() calls is well-behaved.");
9
10 self.jsTestIsAsync = true;
11
12 if (window.testRunner) {
13 testRunner.dumpAsText();
14 testRunner.waitUntilDone();
15 }
16
17 var r1 = new webkitSpeechRecognition();
18 r1.onend = function() {
19 r1.start();
20 };
21 r1.start();
22
23 var r2 = new webkitSpeechRecognition();
24 r2.onend = function() {
25 setTimeout(finishJSTest);
26 };
27 r2.start();
28 </script>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698