-
Notifications
You must be signed in to change notification settings - Fork 38
Remove the SpeechGrammar constructor #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Nothing can be done with these objects, as SpeechGrammarList is populated using addFromURI/addFromString. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26992.
|
@smaug---- this is a fix for your reported issue, but https://github.com/mozilla/gecko-dev/blob/86897859913403b68829dbf9a154f5a87c4b0638/dom/webidl/SpeechGrammar.webidl#L13 does have the constructor. Is this change still desirable? cc @andrenatal |
|
I think the same applies for |
|
I haven't tried it, but just looking at the API shape, it looks like it's possible to create a new |
|
Ah, you're right. It's not |
|
Also blink has Constructor, though oddly it has also NoInterfaceObject. |
|
Filed #58 to drop grammars entirely. The format for the grammars is not specified at all in the spec, so these objects seem to serve no purpose at the moment? |
|
The removal of SpeechGrammar from the Web Speech API spec was discussed at TPAC 2024 and the popular opinion was to remove it from the spec as it is under specified and unsupported by many implementations of the Web Speech API including Chrome. |
Nothing can be done with these objects, as SpeechGrammarList is
populated using addFromURI/addFromString.
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26992.
Preview | Diff