Closed Bug 1491592 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 13017 - Use the voiceschanged event to wait for SpeechSynthesisVoice instance

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13017 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/13017
Details from upstream follow.

Philip Jägenstedt <philip@foolip.org> wrote:
>  Use the voiceschanged event to wait for SpeechSynthesisVoice instance
>  
>  In https://github.com/web-platform-tests/wpt/pull/12317 I noticed that
>  speechSynthesis.getVoices() could return an empty list and is allowed to
>  do so by spec, but not that there's also an event that's fired when the
>  voices are updated:
>  https://w3c.github.io/speech-api/#eventdef-speechsynthesis-voiceschanged
>  
>  Using this improves coverage somewhat.
Failed to get results from try push
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bb93c91a609e
[wpt PR 13017] - Use the voiceschanged event to wait for SpeechSynthesisVoice instance, a=testonly
https://hg.mozilla.org/mozilla-central/rev/bb93c91a609e
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.