blob: cae905712dce1bb9ba80d57ba67b4576e330f5e3 [file] [log] [blame]
<!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>