Bug 125858

Summary: Web Speech API inconsistent onboundary event handling
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description chris fleizach 2013-12-17 09:11:40 PST
Paste in a large text blob for web speech on the Mac.
The word boundary callbacks stop being fired after about a sentence
Comment 1 chris fleizach 2013-12-17 09:11:57 PST
<rdar://problem/15507781>
Comment 2 chris fleizach 2014-01-10 16:24:19 PST
it appears this happens because in the code attached utterance is not stored, so it seems to garbage collect itself and then unset the function at some later point, leading to callbacks not being delivered. i was able to fix this by storing the utterfance in a private variable inside Bene class