This is about the interface objects for SpeechSynthesis and SpeechSynthesisVoice, not about the functionality itself which was already supported. These interfaces should be exposed according to spec. Feature detection using window.speechSynthesis was already possible, but this makes feature detection using SpeechSynthesisVoice.prototype possible. Note that SpeechSynthesisEvent, SpeechSynthesisErrorEvent and SpeechSynthesisUtterance interface objects were already exposed.
In general there is very little web compat risk by exposing a new interface. However, since these interfaces have previously only been exposed by Firefox, it's plausible some feature detection code involving them has accidentally only worked on Firefox, and that Chromium will now go down a new code path. This risk does not seem significant enough to do anything preemptively. This is a minor and trivial change, but moving in the direction of interoperability by matching Firefox and the spec.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYdEZTQOoAr5L%3D1xpBzV7Z_L0M%2BzOrTyEdbT88uPtUPMnQ%40mail.gmail.com.
LGTM2
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqGmffB4z0XGUM2jr%2BArS6x63NViUkiW-tTT862yCJY6xg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/b2e84308-e934-f321-26bb-0c3e33491507%40gmail.com.