| Index: third_party/WebKit/LayoutTests/fast/speech/scripted/speechrecognition-restart-onend.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/speech/scripted/speechrecognition-restart-onend.html b/third_party/WebKit/LayoutTests/fast/speech/scripted/speechrecognition-restart-onend.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cae905712dce1bb9ba80d57ba67b4576e330f5e3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/speech/scripted/speechrecognition-restart-onend.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE HTML>
|
| +<html>
|
| +<head>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +description("Verify that calling start() during onend does not crash.");
|
| +
|
| +self.jsTestIsAsync = true;
|
| +
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| +}
|
| +
|
| +var recog = new webkitSpeechRecognition();
|
| +recog.onend = function () { recog.start(); setTimeout(finishJSTest); };
|
| +recog.start();
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|