Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Issue 231323003: Disable x-webkit-speech (Closed)

Created:
6 years, 8 months ago by eseidel
Modified:
6 years, 8 months ago
CC:
blink-reviews
Visibility:
Public.

Description

Disable x-webkit-speech This does not remove the code yet, only makes x-webkit-speech test-only (only exposed during LayoutTests) which makes this patch only a one-line change. We should follow up this change with a full removal of this feature including all tests. x-webkit-speech is a Chrome-only feature which was announced as deprecated Feb 2014: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/jlPdpx6jErE Current usage is at about 0.487% of reported Chrome page views which is (well) above our normal 0.06% removal threshold: http://www.chromestatus.com/metrics/feature/popularity#PrefixedSpeechAttribute However, hours ago we recieved report of cases where *requiring user interaction* speech can be captured for up to 8 seconds or until the user stops un-interrupted speaking without proper appearance of the "Allow this site to use your microphone" infobar. Although this is only a medium-security issue (requires user interaction and very limited duration), this is still severe enough that we no longer believe we can support this deprecated, webkit-only feature. Removing this feature will not affect mobile users which already have access to speech-input via various speech-enabled keyboards on Android. Desktop sites which were using this feature can use the modern Web Speech APIs instead, which are standardized and supported accross many browsers: http://caniuse.com/web-speech Without this feature pages will continue to work, they just will not be able to get speech input via <input> controls via these APIs and will either have to use the standard Web Speech APIs or depend on the operating system to expose speech input via other methods. I've verified that disabling this does not affect the new JS Web Speech API by testing with: https://www.google.com/intl/en/chrome/demos/speech.html BUG=360448 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171187 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171373

Patch Set 1 #

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/platform/RuntimeEnabledFeatures.in View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Tommy Widenflycht
unfortunately this change doesn't disable the speech recognition bubble;
6 years, 8 months ago (2014-04-09 19:21:16 UTC) #1
Tommy Widenflycht
On 2014/04/09 19:21:16, Tommy Widenflycht wrote: > unfortunately this change doesn't disable the speech recognition ...
6 years, 8 months ago (2014-04-09 19:44:50 UTC) #2
Tommy Widenflycht
lgtm
6 years, 8 months ago (2014-04-09 19:45:00 UTC) #3
jschuh
lgtm
6 years, 8 months ago (2014-04-09 20:07:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/231323003/1
6 years, 8 months ago (2014-04-09 20:07:23 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-09 20:07:28 UTC) #6
commit-bot: I haz the power
Failed to apply patch for Source/platform/RuntimeEnabledFeatures.in: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-09 20:07:28 UTC) #7
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 8 months ago (2014-04-09 21:04:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/231323003/20001
6 years, 8 months ago (2014-04-09 21:04:53 UTC) #9
commit-bot: I haz the power
Change committed as 171187
6 years, 8 months ago (2014-04-09 22:08:32 UTC) #10
eseidel
This got rolled out due to breaking browser_tests which are not covered by the Blink ...
6 years, 8 months ago (2014-04-10 05:20:55 UTC) #11
jschuh
The CQ bit was checked by jschuh@chromium.org
6 years, 8 months ago (2014-04-11 22:05:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/231323003/20001
6 years, 8 months ago (2014-04-11 22:05:59 UTC) #13
commit-bot: I haz the power
6 years, 8 months ago (2014-04-11 22:06:29 UTC) #14
Message was sent while issue was closed.
Change committed as 171373

Powered by Google App Engine
This is Rietveld 408576698