Summary: | Clean up the speech recognintion API | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tommy Widenflycht <tommyw> | ||||||
Component: | WebCore Misc. | Assignee: | Tommy Widenflycht <tommyw> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, dglazkov, esprehn+autocc, fishd, jamesr, ojan.autocc, tkent+wkapi, webkit.review.bot | ||||||
Priority: | P2 | Keywords: | WebExposed | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 80261 | ||||||||
Attachments: |
|
Description
Tommy Widenflycht
2013-03-21 08:01:00 PDT
Created attachment 194263 [details]
Patch
This patch cleans away deprecated parts, fixes so that stop() can be called more than once and adds the missing emma attribute on SpeechRecognitionEvent (which is always null). Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI. Created attachment 194276 [details]
Patch
Comment on attachment 194276 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194276&action=review > Source/WebCore/Modules/speech/SpeechRecognitionEvent.idl:33 > + readonly attribute Document emma; Why add this attribute if it's always null? Perhaps we should wait to add it until it's non-null. Comment on attachment 194276 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194276&action=review >> Source/WebCore/Modules/speech/SpeechRecognitionEvent.idl:33 >> + readonly attribute Document emma; > > Why add this attribute if it's always null? Perhaps we should wait to add it until it's non-null. The standard stipulates that if the emma functionality isn't supported this accessor should return null. Comment on attachment 194276 [details] Patch Clearing flags on attachment: 194276 Committed r146601: <http://trac.webkit.org/changeset/146601> All reviewed patches have been landed. Closing bug. |