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

RESOLVED FIXED in Firefox 64

Status

enhancement
P4
normal
RESOLVED FIXED
9 months ago
9 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla64
Points:
---

Firefox Tracking Flags

(firefox64 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

9 months ago
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.
Assignee

Comment 3

9 months ago
Failed to get results from try push

Comment 4

9 months ago
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

Comment 5

9 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/bb93c91a609e
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.