Changeset 147800 in webkit
- Timestamp:
- Apr 5, 2013 2:51:17 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147768 r147800 1 2013-04-05 Chris Fleizach <cfleizach@apple.com> 2 3 WebSpeech: crash at WebCore::SpeechSynthesis::speak 4 https://bugs.webkit.org/show_bug.cgi?id=113937 5 6 Reviewed by Tim Horton. 7 8 * platform/mac/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance-expected.txt: Added. 9 * platform/mac/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance.html: Added. 10 1 11 2013-04-05 Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r147797 r147800 1 2013-04-05 Chris Fleizach <cfleizach@apple.com> 2 3 WebSpeech: crash at WebCore::SpeechSynthesis::speak 4 https://bugs.webkit.org/show_bug.cgi?id=113937 5 6 Reviewed by Tim Horton. 7 8 Protect against the case when invalid data is passed in. 9 10 Test: platform/mac/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance.html 11 12 * Modules/speech/SpeechSynthesis.cpp: 13 (WebCore::SpeechSynthesis::speak): 14 * Modules/speech/SpeechSynthesisUtterance.cpp: 15 (WebCore::SpeechSynthesisUtterance::setVoice): 16 1 17 2013-04-05 Antti Koivisto <antti@apple.com> 2 18 -
trunk/Source/WebCore/Modules/speech/SpeechSynthesis.cpp
r146724 r147800 103 103 void SpeechSynthesis::speak(SpeechSynthesisUtterance* utterance) 104 104 { 105 if (!utterance) 106 return; 107 105 108 m_utteranceQueue.append(utterance); 106 109 -
trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.cpp
r146724 r147800 65 65 void SpeechSynthesisUtterance::setVoice(SpeechSynthesisVoice* voice) 66 66 { 67 if (!voice) 68 return; 69 67 70 // Cache our own version of the SpeechSynthesisVoice so that we don't have to do some lookup 68 71 // to go from the platform voice back to the speech synthesis voice in the read property.
Note: See TracChangeset
for help on using the changeset viewer.