properties of a SpeechRecognitionAlternative object are not its own
Reported by
danielth...@gmail.com,
Aug 3 2017
|
|
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Steps to reproduce the problem:
1. run the demo yourself
2. say something after you give mic permissions
3. watch the console
What is the expected behavior?
Console should output something like:
{
"transcript": "hello",
"confidence": 0.9483599662780762
}
true
What went wrong?
Console outputs:
{
"transcript": "hello",
"confidence": 0.9483599662780762
}
false
I would expect that the "transcript" and "confidence" properties of a SpeechRecognitionAlternative object would pass a hasOwnProperty check. Also, Object.keys won't list any properties for the object either.
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 59.0.3071.115 Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 26.0 r0
Also posted here: https://stackoverflow.com/questions/45493697/how-come-properties-of-a-speechrecognitionalternative-object-are-not-its-own
|
|
►
Sign in to add a comment |
|
Comment 1 by kebalaji@chromium.org
, Oct 6 2017Labels: Needs-Milestone M-63 OS-Mac
Status: Untriaged (was: Unconfirmed)