Bug 114045

Summary: WebSpeech: event.elapsedTime is always 1364484608
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Description chris fleizach 2013-04-05 10:52:33 PDT
var u = new SpeechSynthesisUtterance();
     u.text = 'Hello World';
     u.lang = 'en-US';
     u.rate = 1.2;
     u.onend = function(event) { alert('Finished in ' + event.elapsedTime + ' seconds.'); }
     speechSynthesis.speak(u);


* RESULTS
No matter what values you give it, event.elapsedTime is always 1364484608. Expected a value more like 1.42346897, as this is value should be a float value representing seconds of elapsed speech time.
Comment 1 chris fleizach 2013-04-05 10:52:47 PDT
rdar://13584644
Comment 2 chris fleizach 2013-04-05 14:23:14 PDT
Created attachment 196682 [details]
patch
Comment 3 chris fleizach 2013-04-05 14:23:29 PDT
Adding Tim to help with review
Comment 4 chris fleizach 2013-04-05 14:37:54 PDT
Comment on attachment 196682 [details]
patch 

Thanks!
Comment 5 WebKit Commit Bot 2013-04-05 14:52:49 PDT
Comment on attachment 196682 [details]
patch 

Clearing flags on attachment: 196682

Committed r147801: <http://trac.webkit.org/changeset/147801>
Comment 6 WebKit Commit Bot 2013-04-05 14:52:51 PDT
All reviewed patches have been landed.  Closing bug.