New issue
Advanced search Search tips

Issue 752261 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

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
 
jsbin.quwabop.1.html
922 bytes View Download
Cc: kebalaji@chromium.org
Labels: Needs-Milestone M-63 OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on reported version 59.0.3071.115, latest stable 61.0.3163.100 and on latest canary 63.0.3233.0 on Windows 10 and Mac 10.12.6.
This is a Non-Regression issue seen from M50-50.0.2624.0. Hence, marking it as untriaged.

Thanks!

Sign in to add a comment