Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Issue 884973003: Extend PlatformSpeechSynthesizerMock with an utterance queue. (Closed)

Created:
5 years, 10 months ago by sof
Modified:
5 years, 10 months ago
Reviewers:
haraken, dmazzoni
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Extend PlatformSpeechSynthesizerMock with an utterance queue. Clusterfuzz repeatedly runs up against a known limitation of this mock implementation of PlatformSpeechSynthesizer, that of not being able to handle the addition of new utterances while one is underway. Lift the limitation and keep a queue. R=dmazzoni,haraken BUG=450142 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189298

Patch Set 1 #

Total comments: 10

Patch Set 2 : speak next utterance right away, no pause #

Patch Set 3 : fix cancellation utterance clearance #

Patch Set 4 : minor test tidying #

Messages

Total messages: 12 (2 generated)
sof
Please take a look.
5 years, 10 months ago (2015-01-30 16:56:58 UTC) #2
haraken
LGTM, but I want to have dmazzoni confirm. https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp File Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp (right): https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp#newcode46 Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp:46: , ...
5 years, 10 months ago (2015-01-31 01:38:03 UTC) #3
sof
https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp File Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp (right): https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp#newcode46 Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp:46: , m_speakingNextTimer(this, &PlatformSpeechSynthesizerMock::speakingNext) On 2015/01/31 01:38:03, haraken wrote: > ...
5 years, 10 months ago (2015-01-31 06:06:19 UTC) #4
dmazzoni
lgtm https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp File Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp (right): https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp#newcode88 Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp:88: m_speakingNextTimer.startOneShot(.2, FROM_HERE); On 2015/01/31 01:38:03, haraken wrote: > ...
5 years, 10 months ago (2015-01-31 06:51:11 UTC) #5
sof
https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp File Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp (right): https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp#newcode88 Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp:88: m_speakingNextTimer.startOneShot(.2, FROM_HERE); On 2015/01/31 06:51:11, dmazzoni wrote: > On ...
5 years, 10 months ago (2015-01-31 07:24:24 UTC) #6
sof
Thanks for the quick reviewing. Will await clarification on cancel() issue. https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp File Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp (right): ...
5 years, 10 months ago (2015-01-31 07:36:19 UTC) #7
dmazzoni
https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp File Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp (right): https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp#newcode122 Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp:122: void PlatformSpeechSynthesizerMock::cancel() On 2015/01/31 07:24:24, sof wrote: > On ...
5 years, 10 months ago (2015-01-31 07:43:31 UTC) #8
sof
https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp File Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp (right): https://codereview.chromium.org/884973003/diff/1/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp#newcode122 Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp:122: void PlatformSpeechSynthesizerMock::cancel() On 2015/01/31 07:43:30, dmazzoni wrote: > On ...
5 years, 10 months ago (2015-01-31 07:56:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/884973003/60001
5 years, 10 months ago (2015-01-31 08:17:42 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-01-31 09:30:00 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189298

Powered by Google App Engine
This is Rietveld 408576698