Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions api/SpeechGrammar.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addendum: Firefox also supports SpeechGrammar only since 142 behind the pref.

Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
],
"notes": "Note that currently only the speech synthesis part is available in Firefox Desktop - the speech recognition part will be available soon, once the required internal permissions are sorted out."
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -40,7 +39,7 @@
},
"status": {
"experimental": false,
"standard_track": false,
"standard_track": true,
"deprecated": true
}
},
Expand All @@ -63,8 +62,7 @@
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
],
"notes": "Note that currently only the speech synthesis part is available in Firefox Desktop - the speech recognition part will be available soon, once the required internal permissions are sorted out."
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand Down Expand Up @@ -107,8 +105,7 @@
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
],
"notes": "Note that currently only the speech synthesis part is available in Firefox Desktop - the speech recognition part will be available soon, once the required internal permissions are sorted out."
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -126,7 +123,7 @@
},
"status": {
"experimental": false,
"standard_track": false,
"standard_track": true,
"deprecated": true
}
}
Expand All @@ -151,8 +148,7 @@
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
],
"notes": "Note that currently only the speech synthesis part is available in Firefox Desktop - the speech recognition part will be available soon, once the required internal permissions are sorted out."
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -170,7 +166,7 @@
},
"status": {
"experimental": false,
"standard_track": false,
"standard_track": true,
"deprecated": true
}
}
Expand Down
78 changes: 60 additions & 18 deletions api/SpeechGrammarList.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "44",
"flags": [
{
"type": "preference",
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, Firefox also supports the webkit prefix for these interfaces and their constructors:

image

Copy link
Contributor Author

@chrisdavidmills chrisdavidmills Sep 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So you probably want me to update the support data for each one of these interfaces and their constructors to something like

"firefox": [
  {
    "version_added": "142",
    "flags": [
      {
        "type": "preference",
        "name": "media.webspeech.recognition.enable",
        "value_to_set": "true"
      }
    ]
  },
  {
    "prefix": "webkit",
    "version_added": "33"
  }
]

But, which browser version?

Copy link
Contributor

@caugner caugner Sep 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, only the interfaces and the constructors, with the same version and flags:

[
  {
    "version_added": "142",
    "flags": [
      {
        "type": "preference",
        "name": "media.webspeech.recognition.enable",
        "value_to_set": "true"
      }
    ]
  },
  {
    "version_added": "142",
    "flags": [
      {
        "type": "preference",
        "name": "media.webspeech.recognition.enable",
        "value_to_set": "true"
      }
    ],
    "prefix": "webkit"
  }
]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, done

},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -39,9 +46,9 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
}
},
"SpeechGrammarList": {
Expand All @@ -65,7 +72,14 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "44",
"flags": [
{
"type": "preference",
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -84,9 +98,9 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
}
}
},
Expand All @@ -104,7 +118,14 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "44",
"flags": [
{
"type": "preference",
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -123,9 +144,9 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
}
}
},
Expand All @@ -143,7 +164,14 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "44",
"flags": [
{
"type": "preference",
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -162,9 +190,9 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
}
}
},
Expand All @@ -182,7 +210,14 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "44",
"flags": [
{
"type": "preference",
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -201,9 +236,9 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
}
}
},
Expand All @@ -221,7 +256,14 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "44",
"flags": [
{
"type": "preference",
"name": "media.webspeech.recognition.enable",
"value_to_set": "true"
}
]
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -240,9 +282,9 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
}
}
}
Expand Down
88 changes: 82 additions & 6 deletions api/SpeechRecognition.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned above, Firefox also supports SpeechRecognition behind the pref, confirmed with https://mdn-bcd-collector.gooborg.com/tests/api/SpeechRecognition in Firefox 143.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I've added Firefox 143 support for SpecchRecognition and all relevant subfeatures.

Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@
"spec_url": "https://webaudio.github.io/web-speech-api/#dom-speechrecognition-available",
"support": {
"chrome": {
"version_added": "139"
"version_added": "142"
},
"chrome_android": {
"version_added": false
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
Expand Down Expand Up @@ -395,9 +397,11 @@
"spec_url": "https://webaudio.github.io/web-speech-api/#dom-speechrecognition-install",
"support": {
"chrome": {
"version_added": "139"
"version_added": "142"
},
"chrome_android": {
"version_added": false
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
Expand Down Expand Up @@ -565,14 +569,49 @@
}
}
},
"phrases": {
"__compat": {
"spec_url": "https://webaudio.github.io/web-speech-api/#dom-speechrecognition-phrases",
"support": {
"chrome": {
"version_added": "142"
},
"chrome_android": {
"version_added": false
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"processLocally": {
"__compat": {
"spec_url": "https://webaudio.github.io/web-speech-api/#dom-speechrecognition-processlocally",
"support": {
"chrome": {
"version_added": "139"
"version_added": "142"
},
"chrome_android": {
"version_added": false
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
Expand Down Expand Up @@ -824,6 +863,43 @@
"standard_track": true,
"deprecated": false
}
},
"audioTrack": {
"__compat": {
"description": "`audioTrack` parameter",
"spec_url": "https://webaudio.github.io/web-speech-api/#dom-speechrecognition-start-audiotrack-audiotrack",
"tags": [
"web-features:speech-recognition"
],
"support": {
"chrome": {
"version_added": "135"
},
"chrome_android": {
"version_added": false
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
},
"start_event": {
Expand Down
Loading