Changeset 147801 in webkit
- Timestamp:
- Apr 5, 2013 2:54:22 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147800 r147801 1 2013-04-05 Chris Fleizach <cfleizach@apple.com> 2 3 WebSpeech: event.elapsedTime is always 1364484608 4 https://bugs.webkit.org/show_bug.cgi?id=114045 5 6 Reviewed by Tim Horton. 7 8 * platform/mac/fast/speechsynthesis/speech-synthesis-elapsed-time-expected.txt: Added. 9 * platform/mac/fast/speechsynthesis/speech-synthesis-elapsed-time.html: Added. 10 1 11 2013-04-05 Chris Fleizach <cfleizach@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r147800 r147801 1 2013-04-05 Chris Fleizach <cfleizach@apple.com> 2 3 WebSpeech: event.elapsedTime is always 1364484608 4 https://bugs.webkit.org/show_bug.cgi?id=114045 5 6 Reviewed by Tim Horton. 7 8 We were calculating elapsed time incorrectly. 9 10 Test: platform/mac/fast/speechsynthesis/speech-synthesis-elapsed-time.html 11 12 * Modules/speech/SpeechSynthesis.cpp: 13 (WebCore::SpeechSynthesis::fireEvent): 14 1 15 2013-04-05 Chris Fleizach <cfleizach@apple.com> 2 16 -
trunk/Source/WebCore/Modules/speech/SpeechSynthesis.cpp
r147800 r147801 141 141 void SpeechSynthesis::fireEvent(const AtomicString& type, SpeechSynthesisUtterance* utterance, unsigned long charIndex, const String& name) 142 142 { 143 utterance->dispatchEvent(SpeechSynthesisEvent::create(type, charIndex, ( currentTime() - utterance->startTime()), name));143 utterance->dispatchEvent(SpeechSynthesisEvent::create(type, charIndex, (monotonicallyIncreasingTime() - utterance->startTime()), name)); 144 144 } 145 145
Note: See TracChangeset
for help on using the changeset viewer.