Primary eng (and PM) emails
Summary
Remove access to the Speech Recognition API on insecure origins. This will prevent sites from requesting access to speech recognition over HTTP.
In practice, sites using the Speech Recognition API must already be on secure origins because the API requires access to the microphone, which is allowed only on secure origins.
Motivation
Speech Recognition is a powerful feature as it, in principle, allows websites to transmit private information coming from the user microphone. Attackers may sniff or steal any information sent over an insecure connection.
Compatibility Risk
There is practically zero compatibility risk because the Speech Recognition API fails to work already due to the impossibility to enable the microphone permission in insecure origins.
What occurs in practice is that when speech recognition is used from HTTP, some parts of Chromium that assume a secure origin are used. This results in a misleading icon on the omnibar that never allows enabling the microphone permission, but which suggests that it might be allowed. The speech recognition functionality never gets to work in this case.
Officially removing access to this API in insecure origins would instead result in an exception with an informative message and would avoid the misleading UI. For more details, see
http://crbug.com/755913.
Alternative implementation suggestion for web developers
Migrate your site to HTTPS to be able to use the Speech Recognition API.
Usage information from UseCounter
No usage information is available at this time. However, given that the feature already fails to work in practice on insecure origins, the impact on existing sites using HTTP would be limited regardless of how many they are.
OWP launch tracking bug
Entry on the feature dashboard
Requesting approval to remove too?
Yes. Assuming the discussions are not controversial, we plan to implement the removal in M63 since the feature is already nonfunctional on insecure origins.