<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Well, the problem with alert is that the assumption (which may or may not always hold) is that when alert() is opened, web page shouldn't run<br>
any scripts. So should <input type="speech"> fire some events when the<br>
recognition is canceled (if alert cancels recognition), and if yes,<br>
when? Or if recognition is not canceled, and something is recognized<br>
(so "input" event should be dispatched), when should the event actually fire? The problem is pretty much the same with synchronous XMLHttpRequest.<br></blockquote><div><br></div><div>In my opinion, once the speech input element has started recording any event which takes the user's focus away from actually speaking should ideally stop the speech recognition. This would include switching to a new window, a new tab or modal/alert dialogs, submitting a form or navigating to a new page in the same tab/window.</div>
<div><br></div><div>--</div><div>Cheers</div><div>Satish</div></div>