You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -512,8 +512,9 @@ following steps:
512
512
1. Abort these steps.
513
513
1. Set {{[[started]]}} to `true`.
514
514
1. If |requestMicrophonePermission| is `true` and [=request
515
-
permission to use=] "`microphone`" is [=permission/"denied"=], abort
516
-
these steps.
515
+
permission to use=] "`microphone`" is [=permission/"denied"=]:
516
+
1. [=Queue a task=] to [=fire an event=] named <a event for=SpeechRecognition>error</a> at [=this=] using {{SpeechRecognitionErrorEvent}} with its {{SpeechRecognitionErrorEvent/error}} attribute initialized to {{SpeechRecognitionErrorCode/not-allowed}} and its {{SpeechRecognitionErrorEvent/message}} attribute set to an implementation-defined string detailing the reason.
517
+
1. Abort these steps.
517
518
1. Once the system is successfully listening to the recognition, queue a task to
518
519
[=fire an event=] named <a event for=SpeechRecognition>start</a> at [=this=].
0 commit comments