blob: c22ac948c90ac2ea85cfd1bd480d9d381408a2d5 [file] [log] [blame]
<!doctype html>
<title>Verify that calling start() during onend does not crash</title>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script>
async_test(t => {
var recog = new webkitSpeechRecognition();
recog.onend = () => {
recog.start();
setTimeout(() => t.done());
};
recog.start();
});
</script>